Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

General clean ups#1208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SilasMarvin merged 1 commit intomasterfromsilas-sdk-cleanups
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletionspgml-sdks/pgml/build.rs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,6 +8,8 @@ async def migrate() -> None

Json = Any
DateTime = int
GeneralJsonIterator = Any
GeneralJsonAsyncIterator = Any
"#;

const ADDITIONAL_DEFAULTS_FOR_#"9">Expand All@@ -16,6 +18,8 @@ export function migrate(): Promise<void>;

export type Json = any;
export type DateTime = Date;
export type GeneralJsonIterator = any;
export type GeneralJsonAsyncIterator = any;

export function newCollection(name: string, database_url?: string): Collection;
export function newModel(name?: string, source?: string, parameters?: Json): Model;
Expand Down
1 change: 0 additions & 1 deletionpgml-sdks/pgml/python/tests/test.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -361,7 +361,6 @@ async def test_open_source_ai_create_async():
],
temperature=0.85,
)
import json
assert len(results["choices"]) > 0


Expand Down
6 changes: 3 additions & 3 deletionspgml-sdks/pgml/src/languages/javascript.rs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -101,13 +101,13 @@ fn transform_stream_iterate_next(mut cx: FunctionContext) -> JsResult<JsPromise>
.expect("Error converting rust Json to JavaScript Object");
let d = cx.boolean(false);
o.set(&mut cx, "value", v)
.expect("Error setting object value intransform_sream_iterate_next");
.expect("Error setting object value intransform_stream_iterate_next");
o.set(&mut cx, "done", d)
.expect("Error setting object value intransform_sream_iterate_next");
.expect("Error setting object value intransform_stream_iterate_next");
} else {
let d = cx.boolean(true);
o.set(&mut cx, "done", d)
.expect("Error setting object value intransform_sream_iterate_next");
.expect("Error setting object value intransform_stream_iterate_next");
}
Ok(o)
})
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp