Skip to content

Commit 47bdcf0

Browse files
committed
Upgrade file picker to flash 3.1 lite
1 parent 45cd073 commit 47bdcf0

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

agents/__tests__/file-picker.test.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ describe('file-picker agent', () => {
8080
})
8181

8282
describe('createFilePicker - max mode', () => {
83-
test('uses grok model', () => {
84-
const maxPicker = createFilePicker('max')
85-
expect(maxPicker.model).toBe('x-ai/grok-4.1-fast')
86-
})
87-
8883
test('spawns two file-listers in parallel', () => {
8984
const maxPicker = createFilePicker('max')
9085
const mockAgentState = createMockAgentState()

agents/file-explorer/file-lister.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { type SecretAgentDefinition } from '../types/secret-agent-definition'
44
export const createFileLister = (): Omit<SecretAgentDefinition, 'id'> => ({
55
displayName: 'Liszt the File Lister',
66
publisher,
7-
model: 'x-ai/grok-4.1-fast',
7+
model: 'google/gemini-3.1-flash-lite-preview',
88
spawnerPrompt:
99
'Lists up to 12 files that are relevant to the prompt within the given directories. Unless you know which directories are relevant, omit the directories parameter. This agent is great for finding files that could be relevant to the prompt.',
1010
inputSchema: {

agents/file-explorer/file-picker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const createFilePicker = (
1313
mode: FilePickerMode,
1414
): Omit<SecretAgentDefinition, 'id'> => {
1515
const isMax = mode === 'max'
16-
const model = isMax ? 'x-ai/grok-4.1-fast' : 'google/gemini-2.5-flash-lite'
16+
const model = isMax ? 'google/gemini-3.1-flash-lite-preview' : 'google/gemini-2.5-flash-lite'
1717

1818
return {
1919
displayName: 'Fletcher the File Fetcher',

0 commit comments

Comments
 (0)