We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5977ce8 commit cf8778aCopy full SHA for cf8778a
packages/a2a-server/src/config/config.ts
@@ -22,6 +22,7 @@ import {
22
DEFAULT_GEMINI_MODEL,
23
type ExtensionLoader,
24
startupProfiler,
25
+ PREVIEW_GEMINI_MODEL,
26
} from '@google/gemini-cli-core';
27
28
import { logger } from '../utils/logger.js';
@@ -38,7 +39,9 @@ export async function loadConfig(
38
39
40
const configParams: ConfigParameters = {
41
sessionId: taskId,
- model: DEFAULT_GEMINI_MODEL,
42
+ model: settings.general?.previewFeatures
43
+ ? PREVIEW_GEMINI_MODEL
44
+ : DEFAULT_GEMINI_MODEL,
45
embeddingModel: DEFAULT_GEMINI_EMBEDDING_MODEL,
46
sandbox: undefined, // Sandbox might not be relevant for a server-side agent
47
targetDir: workspaceDir, // Or a specific directory the agent operates on
0 commit comments