@opencode-ai/ai 0.0.0-next-16255 → 0.0.0-next-16273
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/llm.d.ts +60 -60
- package/dist/protocols/anthropic-messages.d.ts +303 -303
- package/dist/protocols/anthropic-messages.js +1 -0
- package/dist/protocols/bedrock-converse.d.ts +246 -242
- package/dist/protocols/gemini.d.ts +136 -132
- package/dist/protocols/gemini.js +1 -0
- package/dist/protocols/open-responses.d.ts +232 -232
- package/dist/protocols/openai-chat.d.ts +147 -141
- package/dist/protocols/openai-chat.js +1 -0
- package/dist/protocols/openai-compatible-chat.d.ts +48 -46
- package/dist/protocols/openai-compatible-responses.d.ts +56 -56
- package/dist/protocols/openai-responses.d.ts +388 -388
- package/dist/protocols/shared.d.ts +5 -4
- package/dist/protocols/shared.js +1 -0
- package/dist/protocols/utils/bedrock-media.d.ts +10 -10
- package/dist/protocols/utils/tool-stream.d.ts +180 -180
- package/dist/providers/amazon-bedrock.d.ts +109 -107
- package/dist/providers/anthropic-compatible.d.ts +145 -145
- package/dist/providers/anthropic.d.ts +145 -145
- package/dist/providers/azure.d.ts +112 -110
- package/dist/providers/cloudflare.d.ts +144 -138
- package/dist/providers/github-copilot.d.ts +112 -110
- package/dist/providers/google-vertex-chat.d.ts +48 -46
- package/dist/providers/google-vertex-messages.d.ts +145 -146
- package/dist/providers/google-vertex-responses.d.ts +56 -56
- package/dist/providers/google-vertex.d.ts +52 -50
- package/dist/providers/google.d.ts +52 -50
- package/dist/providers/openai-compatible-responses.d.ts +56 -56
- package/dist/providers/openai-compatible.d.ts +48 -46
- package/dist/providers/openai.d.ts +176 -174
- package/dist/providers/openrouter.d.ts +147 -141
- package/dist/providers/xai.d.ts +112 -110
- package/dist/route/client.d.ts +60 -60
- package/dist/schema/errors.d.ts +2 -6
- package/dist/schema/errors.js +2 -5
- package/dist/schema/events.d.ts +1117 -1115
- package/dist/schema/messages.d.ts +9 -9
- package/dist/schema/messages.js +3 -4
- package/dist/tool-runtime.js +1 -1
- package/dist/tool.d.ts +5 -4
- package/dist/tool.js +1 -0
- package/package.json +5 -5
|
@@ -25,45 +25,47 @@ export type Settings = ProviderPackage.Settings & ({
|
|
|
25
25
|
readonly providerOptions?: Gemini.ProviderOptionsInput;
|
|
26
26
|
};
|
|
27
27
|
export declare const routes: Route<{
|
|
28
|
-
readonly contents: readonly
|
|
29
|
-
readonly role:
|
|
30
|
-
readonly parts:
|
|
31
|
-
readonly
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
readonly functionCall:
|
|
41
|
-
readonly
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
}
|
|
45
|
-
readonly thoughtSignature
|
|
46
|
-
}
|
|
47
|
-
readonly functionResponse:
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly parts
|
|
52
|
-
readonly inlineData:
|
|
53
|
-
readonly mimeType:
|
|
54
|
-
readonly data:
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
readonly tools?: readonly
|
|
61
|
-
readonly functionDeclarations:
|
|
62
|
-
readonly name:
|
|
63
|
-
readonly description:
|
|
64
|
-
readonly parameters
|
|
65
|
-
|
|
66
|
-
|
|
28
|
+
readonly contents: readonly {
|
|
29
|
+
readonly role: "user" | "model";
|
|
30
|
+
readonly parts: readonly ({
|
|
31
|
+
readonly inlineData: {
|
|
32
|
+
readonly mimeType: string;
|
|
33
|
+
readonly data: string;
|
|
34
|
+
};
|
|
35
|
+
} | {
|
|
36
|
+
readonly text: string;
|
|
37
|
+
readonly thought?: boolean | undefined;
|
|
38
|
+
readonly thoughtSignature?: string | undefined;
|
|
39
|
+
} | {
|
|
40
|
+
readonly functionCall: {
|
|
41
|
+
readonly name: string;
|
|
42
|
+
readonly args: unknown;
|
|
43
|
+
readonly id?: string | undefined;
|
|
44
|
+
};
|
|
45
|
+
readonly thoughtSignature?: string | undefined;
|
|
46
|
+
} | {
|
|
47
|
+
readonly functionResponse: {
|
|
48
|
+
readonly name: string;
|
|
49
|
+
readonly response: unknown;
|
|
50
|
+
readonly id?: string | undefined;
|
|
51
|
+
readonly parts?: readonly {
|
|
52
|
+
readonly inlineData: {
|
|
53
|
+
readonly mimeType: string;
|
|
54
|
+
readonly data: string;
|
|
55
|
+
};
|
|
56
|
+
}[] | undefined;
|
|
57
|
+
};
|
|
58
|
+
})[];
|
|
59
|
+
}[];
|
|
60
|
+
readonly tools?: readonly {
|
|
61
|
+
readonly functionDeclarations: readonly {
|
|
62
|
+
readonly name: string;
|
|
63
|
+
readonly description: string;
|
|
64
|
+
readonly parameters?: {
|
|
65
|
+
readonly [x: string]: unknown;
|
|
66
|
+
} | undefined;
|
|
67
|
+
}[];
|
|
68
|
+
}[] | undefined;
|
|
67
69
|
readonly generationConfig?: {
|
|
68
70
|
readonly temperature?: number | undefined;
|
|
69
71
|
readonly topP?: number | undefined;
|
|
@@ -75,17 +77,17 @@ export declare const routes: Route<{
|
|
|
75
77
|
} | undefined;
|
|
76
78
|
readonly maxOutputTokens?: number | undefined;
|
|
77
79
|
} | undefined;
|
|
78
|
-
readonly systemInstruction?:
|
|
79
|
-
readonly parts:
|
|
80
|
-
readonly text:
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
readonly toolConfig?:
|
|
84
|
-
readonly functionCallingConfig:
|
|
85
|
-
readonly mode:
|
|
86
|
-
readonly allowedFunctionNames
|
|
87
|
-
}
|
|
88
|
-
}
|
|
80
|
+
readonly systemInstruction?: {
|
|
81
|
+
readonly parts: readonly {
|
|
82
|
+
readonly text: string;
|
|
83
|
+
}[];
|
|
84
|
+
} | undefined;
|
|
85
|
+
readonly toolConfig?: {
|
|
86
|
+
readonly functionCallingConfig: {
|
|
87
|
+
readonly mode: "AUTO" | "NONE" | "ANY";
|
|
88
|
+
readonly allowedFunctionNames?: readonly string[] | undefined;
|
|
89
|
+
};
|
|
90
|
+
} | undefined;
|
|
89
91
|
}, import("../route/transport/http").HttpPrepared<string>>[];
|
|
90
92
|
export declare const configure: (input?: Config) => {
|
|
91
93
|
id: string & import("effect/Brand").Brand<"LLM.ProviderID">;
|
|
@@ -8,45 +8,47 @@ export type GeminiOptionsInput = Gemini.OptionsInput;
|
|
|
8
8
|
export type GeminiProviderOptionsInput = Gemini.ProviderOptionsInput;
|
|
9
9
|
export declare const id: string & import("effect/Brand").Brand<"LLM.ProviderID">;
|
|
10
10
|
export declare const routes: import("../route").Route<{
|
|
11
|
-
readonly contents: readonly
|
|
12
|
-
readonly role:
|
|
13
|
-
readonly parts:
|
|
14
|
-
readonly
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
readonly functionCall:
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
27
|
-
}
|
|
28
|
-
readonly thoughtSignature
|
|
29
|
-
}
|
|
30
|
-
readonly functionResponse:
|
|
31
|
-
readonly
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
34
|
-
readonly parts
|
|
35
|
-
readonly inlineData:
|
|
36
|
-
readonly mimeType:
|
|
37
|
-
readonly data:
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
readonly tools?: readonly
|
|
44
|
-
readonly functionDeclarations:
|
|
45
|
-
readonly name:
|
|
46
|
-
readonly description:
|
|
47
|
-
readonly parameters
|
|
48
|
-
|
|
49
|
-
|
|
11
|
+
readonly contents: readonly {
|
|
12
|
+
readonly role: "user" | "model";
|
|
13
|
+
readonly parts: readonly ({
|
|
14
|
+
readonly inlineData: {
|
|
15
|
+
readonly mimeType: string;
|
|
16
|
+
readonly data: string;
|
|
17
|
+
};
|
|
18
|
+
} | {
|
|
19
|
+
readonly text: string;
|
|
20
|
+
readonly thought?: boolean | undefined;
|
|
21
|
+
readonly thoughtSignature?: string | undefined;
|
|
22
|
+
} | {
|
|
23
|
+
readonly functionCall: {
|
|
24
|
+
readonly name: string;
|
|
25
|
+
readonly args: unknown;
|
|
26
|
+
readonly id?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
readonly thoughtSignature?: string | undefined;
|
|
29
|
+
} | {
|
|
30
|
+
readonly functionResponse: {
|
|
31
|
+
readonly name: string;
|
|
32
|
+
readonly response: unknown;
|
|
33
|
+
readonly id?: string | undefined;
|
|
34
|
+
readonly parts?: readonly {
|
|
35
|
+
readonly inlineData: {
|
|
36
|
+
readonly mimeType: string;
|
|
37
|
+
readonly data: string;
|
|
38
|
+
};
|
|
39
|
+
}[] | undefined;
|
|
40
|
+
};
|
|
41
|
+
})[];
|
|
42
|
+
}[];
|
|
43
|
+
readonly tools?: readonly {
|
|
44
|
+
readonly functionDeclarations: readonly {
|
|
45
|
+
readonly name: string;
|
|
46
|
+
readonly description: string;
|
|
47
|
+
readonly parameters?: {
|
|
48
|
+
readonly [x: string]: unknown;
|
|
49
|
+
} | undefined;
|
|
50
|
+
}[];
|
|
51
|
+
}[] | undefined;
|
|
50
52
|
readonly generationConfig?: {
|
|
51
53
|
readonly temperature?: number | undefined;
|
|
52
54
|
readonly topP?: number | undefined;
|
|
@@ -58,17 +60,17 @@ export declare const routes: import("../route").Route<{
|
|
|
58
60
|
} | undefined;
|
|
59
61
|
readonly maxOutputTokens?: number | undefined;
|
|
60
62
|
} | undefined;
|
|
61
|
-
readonly systemInstruction?:
|
|
62
|
-
readonly parts:
|
|
63
|
-
readonly text:
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
readonly toolConfig?:
|
|
67
|
-
readonly functionCallingConfig:
|
|
68
|
-
readonly mode:
|
|
69
|
-
readonly allowedFunctionNames
|
|
70
|
-
}
|
|
71
|
-
}
|
|
63
|
+
readonly systemInstruction?: {
|
|
64
|
+
readonly parts: readonly {
|
|
65
|
+
readonly text: string;
|
|
66
|
+
}[];
|
|
67
|
+
} | undefined;
|
|
68
|
+
readonly toolConfig?: {
|
|
69
|
+
readonly functionCallingConfig: {
|
|
70
|
+
readonly mode: "AUTO" | "NONE" | "ANY";
|
|
71
|
+
readonly allowedFunctionNames?: readonly string[] | undefined;
|
|
72
|
+
};
|
|
73
|
+
} | undefined;
|
|
72
74
|
}, import("../route/transport/http").HttpPrepared<string>>[];
|
|
73
75
|
export type Config = RouteDefaultsInput & ProviderAuthOption<"optional"> & {
|
|
74
76
|
readonly baseURL?: string;
|
|
@@ -19,68 +19,69 @@ export interface Settings extends ProviderPackage.Settings {
|
|
|
19
19
|
export declare const routes: import("../route").Route<{
|
|
20
20
|
readonly input: readonly ({
|
|
21
21
|
readonly type: "reasoning";
|
|
22
|
-
readonly summary: readonly
|
|
23
|
-
readonly type:
|
|
24
|
-
readonly text:
|
|
25
|
-
}
|
|
22
|
+
readonly summary: readonly {
|
|
23
|
+
readonly type: "summary_text";
|
|
24
|
+
readonly text: string;
|
|
25
|
+
}[];
|
|
26
26
|
readonly id?: string | undefined;
|
|
27
27
|
readonly encrypted_content?: string | null | undefined;
|
|
28
|
-
} |
|
|
29
|
-
readonly type:
|
|
30
|
-
readonly id:
|
|
31
|
-
}
|
|
32
|
-
readonly role:
|
|
33
|
-
readonly content:
|
|
34
|
-
}
|
|
35
|
-
readonly role:
|
|
36
|
-
readonly content:
|
|
37
|
-
readonly type:
|
|
38
|
-
readonly
|
|
39
|
-
}
|
|
40
|
-
readonly type:
|
|
41
|
-
readonly
|
|
42
|
-
|
|
43
|
-
readonly
|
|
44
|
-
|
|
45
|
-
readonly
|
|
46
|
-
readonly
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
readonly content: readonly
|
|
50
|
-
readonly type:
|
|
51
|
-
readonly text:
|
|
52
|
-
}
|
|
28
|
+
} | {
|
|
29
|
+
readonly type: "item_reference";
|
|
30
|
+
readonly id: string;
|
|
31
|
+
} | {
|
|
32
|
+
readonly role: "system";
|
|
33
|
+
readonly content: string;
|
|
34
|
+
} | {
|
|
35
|
+
readonly role: "user";
|
|
36
|
+
readonly content: readonly ({
|
|
37
|
+
readonly type: "input_image";
|
|
38
|
+
readonly image_url: string;
|
|
39
|
+
} | {
|
|
40
|
+
readonly type: "input_file";
|
|
41
|
+
readonly filename: string;
|
|
42
|
+
readonly file_data: string;
|
|
43
|
+
readonly mime_type?: string | undefined;
|
|
44
|
+
} | {
|
|
45
|
+
readonly type: "input_text";
|
|
46
|
+
readonly text: string;
|
|
47
|
+
})[];
|
|
48
|
+
} | {
|
|
49
|
+
readonly content: readonly {
|
|
50
|
+
readonly type: "output_text";
|
|
51
|
+
readonly text: string;
|
|
52
|
+
}[];
|
|
53
53
|
readonly role: "assistant";
|
|
54
54
|
readonly phase?: "commentary" | "final_answer" | undefined;
|
|
55
|
-
} |
|
|
56
|
-
readonly type:
|
|
57
|
-
readonly call_id:
|
|
58
|
-
readonly name:
|
|
59
|
-
readonly arguments:
|
|
60
|
-
}
|
|
61
|
-
readonly type:
|
|
62
|
-
readonly call_id:
|
|
63
|
-
readonly output:
|
|
64
|
-
readonly type:
|
|
65
|
-
readonly
|
|
66
|
-
}
|
|
67
|
-
readonly type:
|
|
68
|
-
readonly
|
|
69
|
-
|
|
70
|
-
readonly
|
|
71
|
-
|
|
72
|
-
readonly
|
|
73
|
-
readonly
|
|
74
|
-
}
|
|
75
|
-
}
|
|
55
|
+
} | {
|
|
56
|
+
readonly type: "function_call";
|
|
57
|
+
readonly call_id: string;
|
|
58
|
+
readonly name: string;
|
|
59
|
+
readonly arguments: string;
|
|
60
|
+
} | {
|
|
61
|
+
readonly type: "function_call_output";
|
|
62
|
+
readonly call_id: string;
|
|
63
|
+
readonly output: string | readonly ({
|
|
64
|
+
readonly type: "input_image";
|
|
65
|
+
readonly image_url: string;
|
|
66
|
+
} | {
|
|
67
|
+
readonly type: "input_file";
|
|
68
|
+
readonly filename: string;
|
|
69
|
+
readonly file_data: string;
|
|
70
|
+
readonly mime_type?: string | undefined;
|
|
71
|
+
} | {
|
|
72
|
+
readonly type: "input_text";
|
|
73
|
+
readonly text: string;
|
|
74
|
+
})[];
|
|
75
|
+
})[];
|
|
76
76
|
readonly model: string;
|
|
77
77
|
readonly stream: true;
|
|
78
78
|
readonly text?: {
|
|
79
79
|
readonly verbosity?: "low" | "medium" | "high" | undefined;
|
|
80
80
|
} | undefined;
|
|
81
|
+
readonly instructions?: string | undefined;
|
|
81
82
|
readonly reasoning?: {
|
|
82
|
-
readonly effort?: string | undefined;
|
|
83
83
|
readonly summary?: "auto" | "concise" | "detailed" | undefined;
|
|
84
|
+
readonly effort?: string | undefined;
|
|
84
85
|
} | undefined;
|
|
85
86
|
readonly tools?: readonly {
|
|
86
87
|
readonly type: "function";
|
|
@@ -92,13 +93,12 @@ export declare const routes: import("../route").Route<{
|
|
|
92
93
|
readonly strict?: boolean | undefined;
|
|
93
94
|
}[] | undefined;
|
|
94
95
|
readonly temperature?: number | undefined;
|
|
95
|
-
readonly tool_choice?: "required" | "none" | "auto" |
|
|
96
|
-
readonly type:
|
|
97
|
-
readonly name:
|
|
98
|
-
}
|
|
96
|
+
readonly tool_choice?: "required" | "none" | "auto" | {
|
|
97
|
+
readonly type: "function";
|
|
98
|
+
readonly name: string;
|
|
99
|
+
} | undefined;
|
|
99
100
|
readonly top_p?: number | undefined;
|
|
100
101
|
readonly include?: readonly ("file_search_call.results" | "web_search_call.results" | "web_search_call.action.sources" | "message.input_image.image_url" | "computer_call_output.output.image_url" | "code_interpreter_call.outputs" | "reasoning.encrypted_content" | "message.output_text.logprobs")[] | undefined;
|
|
101
|
-
readonly instructions?: string | undefined;
|
|
102
102
|
readonly store?: boolean | undefined;
|
|
103
103
|
readonly service_tier?: "auto" | "default" | "flex" | "priority" | undefined;
|
|
104
104
|
readonly prompt_cache_key?: string | undefined;
|
|
@@ -16,66 +16,68 @@ export type FamilyModelOptions = RouteDefaultsInput & ProviderAuthOption<"option
|
|
|
16
16
|
readonly baseURL?: string;
|
|
17
17
|
};
|
|
18
18
|
export declare const routes: import("../route").Route<{
|
|
19
|
-
readonly
|
|
20
|
-
|
|
21
|
-
readonly
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
readonly
|
|
25
|
-
|
|
26
|
-
readonly
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
readonly
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
19
|
+
readonly model: string;
|
|
20
|
+
readonly messages: readonly ({
|
|
21
|
+
readonly role: "system";
|
|
22
|
+
readonly content: string;
|
|
23
|
+
} | {
|
|
24
|
+
readonly role: "user";
|
|
25
|
+
readonly content: string | readonly ({
|
|
26
|
+
readonly type: "text";
|
|
27
|
+
readonly text: string;
|
|
28
|
+
} | {
|
|
29
|
+
readonly type: "image_url";
|
|
30
|
+
readonly image_url: {
|
|
31
|
+
readonly url: string;
|
|
32
|
+
};
|
|
33
|
+
})[];
|
|
34
|
+
} | {
|
|
34
35
|
readonly [x: string]: unknown;
|
|
35
36
|
readonly content: string | null;
|
|
36
37
|
readonly role: "assistant";
|
|
37
38
|
readonly reasoning?: string | undefined;
|
|
38
|
-
readonly tool_calls?: readonly import("effect/Schema").Struct.ReadonlySide<{
|
|
39
|
-
readonly id: import("effect/Schema").String;
|
|
40
|
-
readonly type: import("effect/Schema").tag<"function">;
|
|
41
|
-
readonly function: import("effect/Schema").Struct<{
|
|
42
|
-
readonly name: import("effect/Schema").String;
|
|
43
|
-
readonly arguments: import("effect/Schema").String;
|
|
44
|
-
}>;
|
|
45
|
-
}, "Type">[] | undefined;
|
|
46
39
|
readonly reasoning_content?: string | undefined;
|
|
47
40
|
readonly reasoning_text?: string | undefined;
|
|
41
|
+
readonly tool_calls?: readonly {
|
|
42
|
+
readonly id: string;
|
|
43
|
+
readonly type: "function";
|
|
44
|
+
readonly function: {
|
|
45
|
+
readonly name: string;
|
|
46
|
+
readonly arguments: string;
|
|
47
|
+
};
|
|
48
|
+
}[] | undefined;
|
|
48
49
|
readonly reasoning_details?: unknown;
|
|
49
|
-
} |
|
|
50
|
-
readonly role:
|
|
51
|
-
readonly tool_call_id:
|
|
52
|
-
readonly content:
|
|
53
|
-
}
|
|
54
|
-
readonly model: string;
|
|
50
|
+
} | {
|
|
51
|
+
readonly role: "tool";
|
|
52
|
+
readonly tool_call_id: string;
|
|
53
|
+
readonly content: string;
|
|
54
|
+
})[];
|
|
55
55
|
readonly stream: true;
|
|
56
56
|
readonly stop?: readonly string[] | undefined;
|
|
57
|
-
readonly tools?: readonly
|
|
58
|
-
readonly type:
|
|
59
|
-
readonly function:
|
|
60
|
-
readonly name:
|
|
61
|
-
readonly description:
|
|
62
|
-
readonly parameters:
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
readonly tools?: readonly {
|
|
58
|
+
readonly type: "function";
|
|
59
|
+
readonly function: {
|
|
60
|
+
readonly name: string;
|
|
61
|
+
readonly description: string;
|
|
62
|
+
readonly parameters: {
|
|
63
|
+
readonly [x: string]: unknown;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}[] | undefined;
|
|
65
67
|
readonly temperature?: number | undefined;
|
|
66
68
|
readonly seed?: number | undefined;
|
|
67
69
|
readonly frequency_penalty?: number | undefined;
|
|
68
70
|
readonly max_tokens?: number | undefined;
|
|
69
71
|
readonly presence_penalty?: number | undefined;
|
|
70
|
-
readonly stream_options?:
|
|
71
|
-
readonly include_usage:
|
|
72
|
-
}
|
|
73
|
-
readonly tool_choice?: "required" | "none" | "auto" |
|
|
74
|
-
readonly type:
|
|
75
|
-
readonly function:
|
|
76
|
-
readonly name:
|
|
77
|
-
}
|
|
78
|
-
}
|
|
72
|
+
readonly stream_options?: {
|
|
73
|
+
readonly include_usage: boolean;
|
|
74
|
+
} | undefined;
|
|
75
|
+
readonly tool_choice?: "required" | "none" | "auto" | {
|
|
76
|
+
readonly type: "function";
|
|
77
|
+
readonly function: {
|
|
78
|
+
readonly name: string;
|
|
79
|
+
};
|
|
80
|
+
} | undefined;
|
|
79
81
|
readonly top_p?: number | undefined;
|
|
80
82
|
readonly store?: boolean | undefined;
|
|
81
83
|
readonly reasoning_effort?: string | undefined;
|