File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11import { AGENT_PERSONAS } from '@codebuff/common/constants/agents'
22
33import 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
76export const filePicker = (
8- model : Model ,
7+ model : ModelName ,
98) : Omit < SecretAgentDefinition , 'id' > => ( {
109 model,
1110 displayName : AGENT_PERSONAS [ 'file-picker' ] . displayName ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import type { SecretAgentDefinition } from './types/secret-agent-definition'
66const definition : SecretAgentDefinition = {
77 id : 'file-picker' ,
88 publisher,
9- ...filePicker ( 'openai/gpt-5 ' ) ,
9+ ...filePicker ( 'google/gemini-2.5-flash ' ) ,
1010}
1111
1212export default definition
You can’t perform that action at this time.
0 commit comments