Skip to content

Commit 3da366e

Browse files
committed
Switch file-picker back to using Flash
1 parent a62a9bf commit 3da366e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.agents/factory/file-picker.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import { AGENT_PERSONAS } from '@codebuff/common/constants/agents'
22

33
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
4-
import type { Model } from '@codebuff/common/constants'
5-
import type { ToolCall } from 'types/agent-definition'
4+
import type { ModelName, ToolCall } from 'types/agent-definition'
65

76
export const filePicker = (
8-
model: Model,
7+
model: ModelName,
98
): Omit<SecretAgentDefinition, 'id'> => ({
109
model,
1110
displayName: AGENT_PERSONAS['file-picker'].displayName,

.agents/file-picker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { SecretAgentDefinition } from './types/secret-agent-definition'
66
const definition: SecretAgentDefinition = {
77
id: 'file-picker',
88
publisher,
9-
...filePicker('openai/gpt-5'),
9+
...filePicker('google/gemini-2.5-flash'),
1010
}
1111

1212
export default definition

0 commit comments

Comments
 (0)