Skip to content

Commit 528ce1a

Browse files
committed
Upgrade to gpt-5.1!
1 parent 98c2f15 commit 528ce1a

35 files changed

+40
-39
lines changed

.agents-graveyard/scout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
const definition: SecretAgentDefinition = {
88
id: 'scout',
99
publisher,
10-
model: 'openai/gpt-5-chat',
10+
model: 'openai/gpt-5.1-chat',
1111
displayName: 'Lewis & Clark',
1212
spawnableAgents: ['file-explorer', 'researcher-web', 'researcher-docs'],
1313
toolNames: ['spawn_agents', 'read_files', 'code_search', 'end_turn'],

.agents/base/ask.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { PLACEHOLDER } from '../types/secret-agent-definition'
99
const definition: SecretAgentDefinition = {
1010
id: 'ask',
1111
publisher,
12-
model: 'openai/gpt-5',
12+
model: 'openai/gpt-5.1',
1313
displayName: 'Ask Buffy',
1414
spawnerPrompt: 'Base ask-mode agent that orchestrates the full response.',
1515
inputSchema: {

.agents/base/base-lite.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { baseAgentAgentStepPrompt } from './base-prompts.ts'
77
const definition: SecretAgentDefinition = {
88
id: 'base-lite',
99
publisher,
10-
...base('openai/gpt-5', 'lite'),
10+
...base('openai/gpt-5.1', 'lite'),
1111
reasoningOptions: {
1212
enabled: true,
1313
effort: 'medium',
@@ -33,7 +33,7 @@ const definition: SecretAgentDefinition = {
3333
],
3434

3535
stepPrompt:
36-
baseAgentAgentStepPrompt('openai/gpt-5') +
36+
baseAgentAgentStepPrompt('openai/gpt-5.1') +
3737
` Don't forget to spawn any helper agents as you go: file-explorer, find-all-referencer, researcher-web, researcher-docs, thinker, reviewer-lite`,
3838
}
3939

.agents/base/base-quick.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: 'base-quick',
88
publisher,
9-
...base('openai/gpt-5-chat', 'lite'),
9+
...base('openai/gpt-5.1-chat', 'lite'),
1010
toolNames: [
1111
'create_plan',
1212
'run_terminal_command',

.agents/base2/alloy/base2-gpt-5-single-step.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
const definition: SecretAgentDefinition = {
55
...createBase2('default'),
66
id: 'base2-gpt-5-single-step',
7-
model: 'openai/gpt-5',
7+
model: 'openai/gpt-5.1',
88
reasoningOptions: {
99
enabled: true,
1010
effort: 'medium',

.agents/base2/alloy2/base2-plan-step-gpt-5.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
const definition: SecretAgentDefinition = {
55
...planStep,
66
id: 'base2-plan-step-gpt-5',
7-
model: 'openai/gpt-5',
7+
model: 'openai/gpt-5.1',
88
}
99

1010
export default definition

.agents/base2/base2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function createBase2(
3131
return {
3232
publisher,
3333
model: isGpt5
34-
? 'openai/gpt-5'
34+
? 'openai/gpt-5.1'
3535
: isFast
3636
? 'z-ai/glm-4.6:nitro'
3737
: 'anthropic/claude-sonnet-4.5',

.agents/base2/best-of-n/best-of-n-implementor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const createBestOfNImplementor = (options: {
1111

1212
return {
1313
publisher,
14-
model: isSonnet ? 'anthropic/claude-sonnet-4.5' : 'openai/gpt-5',
14+
model: isSonnet ? 'anthropic/claude-sonnet-4.5' : 'openai/gpt-5.1',
1515
displayName: 'Implementation Generator',
1616
spawnerPrompt:
1717
'Generates a complete implementation plan with all code changes',

.agents/base2/best-of-n/best-of-n-selector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const createBestOfNSelector = (options: {
1313

1414
return {
1515
publisher,
16-
model: isSonnet ? 'anthropic/claude-sonnet-4.5' : 'openai/gpt-5',
16+
model: isSonnet ? 'anthropic/claude-sonnet-4.5' : 'openai/gpt-5.1',
1717
...(isGpt5 && {
1818
reasoningOptions: {
1919
effort: 'high',

.agents/base2/best-of-n/editor-best-of-n.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function createBestOfNEditor(
1313

1414
return {
1515
publisher,
16-
model: isGpt5 ? 'openai/gpt-5' : 'anthropic/claude-sonnet-4.5',
16+
model: isGpt5 ? 'openai/gpt-5.1' : 'anthropic/claude-sonnet-4.5',
1717
displayName: isGpt5 ? 'Best-of-N GPT-5 Editor' : 'Best-of-N Editor',
1818
spawnerPrompt:
1919
'Edits code by orchestrating multiple implementor agents to generate implementation proposals, selects the best one, and applies the changes. Do not specify an input prompt for this agent; it inherits the context of the entire conversation with the user. Make sure to read any files intended to be edited before spawning this agent as it cannot read files on its own.',
@@ -301,6 +301,7 @@ function* handleStepsGpt5({
301301
response: chosenImplementation.content,
302302
toolResults: editToolResults,
303303
},
304+
includeToolCall: false,
304305
} satisfies ToolCall<'set_output'>
305306

306307
function extractSpawnResults<T>(

0 commit comments

Comments
 (0)