Skip to content

Commit 5142e9d

Browse files
authored
Merge pull request #599 from mkbehr/default-model
Fix default Gemini model version string
2 parents f5d7ed2 + 29dc138 commit 5142e9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

functions/src/api/gemini.api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
addParsedModelResponse,
1616
} from '@deliberation-lab/utils';
1717

18-
const GEMINI_DEFAULT_MODEL = 'gemini-2.5-pro-latest';
18+
const GEMINI_DEFAULT_MODEL = 'gemini-2.5-pro';
1919
const DEFAULT_FETCH_TIMEOUT = 300 * 1000; // This is the Chrome default
2020
const MAX_TOKENS_FINISH_REASON = 'MAX_TOKENS';
2121
const AUTHENTICATION_FAILURE_ERROR_CODE = 403;

utils/src/agent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export interface AgentParticipantTemplate {
173173
// ************************************************************************* //
174174
export const DEFAULT_AGENT_API_TYPE = ApiKeyType.GEMINI_API_KEY;
175175

176-
export const DEFAULT_AGENT_API_MODEL = 'gemini-2.5-pro-latest';
176+
export const DEFAULT_AGENT_API_MODEL = 'gemini-2.5-pro';
177177

178178
export const DEFAULT_AGENT_MODEL_SETTINGS: AgentModelSettings = {
179179
apiType: DEFAULT_AGENT_API_TYPE,

0 commit comments

Comments
 (0)