@agi-cli/server 0.1.171 → 0.1.172
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agi-cli/server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.172",
|
|
4
4
|
"description": "HTTP API server for AGI CLI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"typecheck": "tsc --noEmit"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@agi-cli/sdk": "0.1.
|
|
33
|
-
"@agi-cli/database": "0.1.
|
|
32
|
+
"@agi-cli/sdk": "0.1.172",
|
|
33
|
+
"@agi-cli/database": "0.1.172",
|
|
34
34
|
"drizzle-orm": "^0.44.5",
|
|
35
35
|
"hono": "^4.9.9",
|
|
36
36
|
"zod": "^4.1.8"
|
package/src/routes/auth.ts
CHANGED
|
@@ -202,8 +202,11 @@ export async function setupRunner(opts: RunOpts): Promise<SetupResult> {
|
|
|
202
202
|
reasoningSummary: 'auto',
|
|
203
203
|
};
|
|
204
204
|
} else if (underlyingProvider === 'google') {
|
|
205
|
+
const isGemini3 = opts.model.includes('gemini-3');
|
|
205
206
|
providerOptions.google = {
|
|
206
|
-
thinkingConfig:
|
|
207
|
+
thinkingConfig: isGemini3
|
|
208
|
+
? { thinkingLevel: 'high', includeThoughts: true }
|
|
209
|
+
: { thinkingBudget: THINKING_BUDGET },
|
|
207
210
|
};
|
|
208
211
|
} else if (underlyingProvider === 'openai-compatible') {
|
|
209
212
|
providerOptions.openaiCompatible = {
|