1
- import { AGENT_PERSONAS } from '@codebuff/common/ constants/agents '
1
+ import { publisher } from '../ constants'
2
2
3
3
import type { SecretAgentDefinition } from '../types/secret-agent-definition'
4
- import type { Model } from '@codebuff/common/old-constants'
5
- export const thinker = ( model : Model ) : Omit < SecretAgentDefinition , 'id' > => ( {
6
- model,
7
- displayName : AGENT_PERSONAS . thinker . displayName ,
8
- spawnerPrompt : AGENT_PERSONAS . thinker . purpose ,
4
+
5
+ const definition : SecretAgentDefinition = {
6
+ id : 'thinker' ,
7
+ publisher,
8
+ model : 'openai/gpt-5' ,
9
+ displayName : 'Theo the Theorizer' ,
10
+ spawnerPrompt :
11
+ 'Does deep thinking given the current messages and a specific prompt to focus on. Use this to help you solve a specific problem.' ,
9
12
inputSchema : {
10
13
prompt : {
11
14
type : 'string' ,
12
15
description : 'The problem you are trying to solve' ,
13
16
} ,
14
17
} ,
15
18
outputMode : 'last_message' ,
19
+ inheritParentSystemPrompt : true ,
16
20
includeMessageHistory : true ,
17
- toolNames : [ 'end_turn' ] ,
18
21
spawnableAgents : [ ] ,
19
22
20
- systemPrompt : `You are an expert programmer and deep thinker.` ,
21
-
22
23
instructionsPrompt : `
23
24
Think deeply, step by step, about the user request and how best to approach it.
24
25
@@ -29,7 +30,9 @@ Come up with a list of insights that would help someone arrive at the best solut
29
30
Try not to be too prescriptive or confident in one solution. Instead, give clear arguments and reasoning.
30
31
31
32
You must be extremely concise and to the point.
33
+
34
+ **Important**: Do not use any tools! You are only thinking!
32
35
` . trim ( ) ,
36
+ }
33
37
34
- stepPrompt : `Don't forget to end your response with the end_turn tool.` ,
35
- } )
38
+ export default definition
0 commit comments