Skip to content

Commit d8700c9

Browse files
committed
tweak agent-template.d.ts
1 parent 6051318 commit d8700c9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

common/src/templates/agent-template.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ export type ToolName =
163163

164164
/**
165165
* AI models available for agents (all models in OpenRouter are supported)
166+
*
167+
* See available models at https://openrouter.ai/models
166168
*/
167169
export type ModelName =
168170
// Verified OpenRouter Models
@@ -178,9 +180,7 @@ export type ModelName =
178180
| 'google/gemini-2.5-pro'
179181
| 'google/gemini-2.5-flash'
180182
| 'x-ai/grok-4-07-09'
181-
182-
// Or any string for custom models, as long as they are supported by OpenRouter
183-
| string
183+
| (string & {})
184184

185185
// ============================================================================
186186
// Spawnable Agents
@@ -195,7 +195,7 @@ export type SpawnableAgentName =
195195
| 'researcher'
196196
| 'thinker'
197197
| 'reviewer'
198-
| string // Allow custom agent names
198+
| (string & {})
199199

200200
// ============================================================================
201201
// Utility Types

0 commit comments

Comments
 (0)