You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/cmd/session.go
+5-40Lines changed: 5 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -45,11 +45,6 @@ var sessionsAct = requestflag.WithInnerFlags(cli.Command{
45
45
Usage: "Whether to stream the response via SSE",
46
46
BodyPath: "streamResponse",
47
47
},
48
-
&requestflag.Flag[any]{
49
-
Name: "x-sent-at",
50
-
Usage: "ISO timestamp when request was sent",
51
-
HeaderPath: "x-sent-at",
52
-
},
53
48
&requestflag.Flag[string]{
54
49
Name: "x-stream-response",
55
50
Usage: "Whether to stream the response via SSE",
@@ -62,7 +57,7 @@ var sessionsAct = requestflag.WithInnerFlags(cli.Command{
62
57
"options": {
63
58
&requestflag.InnerFlag[any]{
64
59
Name: "options.model",
65
-
Usage: "Model name string with provider prefix(e.g., 'openai/gpt-5-nano', 'anthropic/claude-4.5-opus')",
60
+
Usage: "Model name string with provider prefix. Always use the format 'provider/model-name' (e.g., 'openai/gpt-4o', 'anthropic/claude-sonnet-4-5-20250929', 'google/gemini-2.0-flash')",
66
61
InnerField: "model",
67
62
},
68
63
&requestflag.InnerFlag[float64]{
@@ -92,11 +87,6 @@ var sessionsEnd = cli.Command{
92
87
Name: "-force-body",
93
88
BodyPath: "_forceBody",
94
89
},
95
-
&requestflag.Flag[any]{
96
-
Name: "x-sent-at",
97
-
Usage: "ISO timestamp when request was sent",
98
-
HeaderPath: "x-sent-at",
99
-
},
100
90
&requestflag.Flag[string]{
101
91
Name: "x-stream-response",
102
92
Usage: "Whether to stream the response via SSE",
@@ -137,11 +127,6 @@ var sessionsExecute = requestflag.WithInnerFlags(cli.Command{
137
127
Usage: "Whether to stream the response via SSE",
138
128
BodyPath: "streamResponse",
139
129
},
140
-
&requestflag.Flag[any]{
141
-
Name: "x-sent-at",
142
-
Usage: "ISO timestamp when request was sent",
143
-
HeaderPath: "x-sent-at",
144
-
},
145
130
&requestflag.Flag[string]{
146
131
Name: "x-stream-response",
147
132
Usage: "Whether to stream the response via SSE",
@@ -159,7 +144,7 @@ var sessionsExecute = requestflag.WithInnerFlags(cli.Command{
159
144
},
160
145
&requestflag.InnerFlag[any]{
161
146
Name: "agent-config.model",
162
-
Usage: "Model name string with provider prefix(e.g., 'openai/gpt-5-nano', 'anthropic/claude-4.5-opus')",
147
+
Usage: "Model name string with provider prefix. Always use the format 'provider/model-name' (e.g., 'openai/gpt-4o', 'anthropic/claude-sonnet-4-5-20250929', 'google/gemini-2.0-flash')",
163
148
InnerField: "model",
164
149
},
165
150
&requestflag.InnerFlag[string]{
@@ -226,11 +211,6 @@ var sessionsExtract = requestflag.WithInnerFlags(cli.Command{
226
211
Usage: "Whether to stream the response via SSE",
227
212
BodyPath: "streamResponse",
228
213
},
229
-
&requestflag.Flag[any]{
230
-
Name: "x-sent-at",
231
-
Usage: "ISO timestamp when request was sent",
232
-
HeaderPath: "x-sent-at",
233
-
},
234
214
&requestflag.Flag[string]{
235
215
Name: "x-stream-response",
236
216
Usage: "Whether to stream the response via SSE",
@@ -243,7 +223,7 @@ var sessionsExtract = requestflag.WithInnerFlags(cli.Command{
243
223
"options": {
244
224
&requestflag.InnerFlag[any]{
245
225
Name: "options.model",
246
-
Usage: "Model name string with provider prefix(e.g., 'openai/gpt-5-nano', 'anthropic/claude-4.5-opus')",
226
+
Usage: "Model name string with provider prefix. Always use the format 'provider/model-name' (e.g., 'openai/gpt-4o', 'anthropic/claude-sonnet-4-5-20250929', 'google/gemini-2.0-flash')",
247
227
InnerField: "model",
248
228
},
249
229
&requestflag.InnerFlag[string]{
@@ -289,11 +269,6 @@ var sessionsNavigate = requestflag.WithInnerFlags(cli.Command{
289
269
Usage: "Whether to stream the response via SSE",
290
270
BodyPath: "streamResponse",
291
271
},
292
-
&requestflag.Flag[any]{
293
-
Name: "x-sent-at",
294
-
Usage: "ISO timestamp when request was sent",
295
-
HeaderPath: "x-sent-at",
296
-
},
297
272
&requestflag.Flag[string]{
298
273
Name: "x-stream-response",
299
274
Usage: "Whether to stream the response via SSE",
@@ -351,11 +326,6 @@ var sessionsObserve = requestflag.WithInnerFlags(cli.Command{
351
326
Usage: "Whether to stream the response via SSE",
352
327
BodyPath: "streamResponse",
353
328
},
354
-
&requestflag.Flag[any]{
355
-
Name: "x-sent-at",
356
-
Usage: "ISO timestamp when request was sent",
357
-
HeaderPath: "x-sent-at",
358
-
},
359
329
&requestflag.Flag[string]{
360
330
Name: "x-stream-response",
361
331
Usage: "Whether to stream the response via SSE",
@@ -368,7 +338,7 @@ var sessionsObserve = requestflag.WithInnerFlags(cli.Command{
368
338
"options": {
369
339
&requestflag.InnerFlag[any]{
370
340
Name: "options.model",
371
-
Usage: "Model name string with provider prefix(e.g., 'openai/gpt-5-nano', 'anthropic/claude-4.5-opus')",
341
+
Usage: "Model name string with provider prefix. Always use the format 'provider/model-name' (e.g., 'openai/gpt-4o', 'anthropic/claude-sonnet-4-5-20250929', 'google/gemini-2.0-flash')",
372
342
InnerField: "model",
373
343
},
374
344
&requestflag.InnerFlag[string]{
@@ -391,7 +361,7 @@ var sessionsStart = requestflag.WithInnerFlags(cli.Command{
391
361
Flags: []cli.Flag{
392
362
&requestflag.Flag[string]{
393
363
Name: "model-name",
394
-
Usage: "Model name to use for AI operations",
364
+
Usage: "Model name to use for AI operations. Always use the format 'provider/model-name' (e.g., 'openai/gpt-4o', 'anthropic/claude-sonnet-4-5-20250929', 'google/gemini-2.0-flash')",
395
365
Required: true,
396
366
BodyPath: "modelName",
397
367
},
@@ -442,11 +412,6 @@ var sessionsStart = requestflag.WithInnerFlags(cli.Command{
442
412
Usage: "Wait for captcha solves (deprecated, v2 only)",
"--execute-options", "{instruction: 'Log in with username ''demo'' and password ''test123'', then navigate to settings', highlightCursor: true, maxSteps: 20}",
0 commit comments