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
// allign with vscode-copilot-chat extractThinkingData, otherwise it will cause miss cache occasionally —— the usage input cached tokens to be 0
240
+
// align with vscode-copilot-chat extractThinkingData, should add id, otherwise it will cause miss cache occasionally —— the usage input cached tokens to be 0
// when use in codex cli, reasoning id is empty, so it will cause miss cache occasionally
239
243
constarray=block.signature.split("@")
240
244
constsignature=array[0]
241
-
constid=array.length>1 ? array[1] : undefined
245
+
constid=array[1]
242
246
return{
243
247
id,
244
248
type: "reasoning",
245
-
summary: [],
249
+
summary: [
250
+
{
251
+
type: "summary_text",
252
+
text: block.thinking,
253
+
},
254
+
],
246
255
encrypted_content: signature,
247
256
}
248
257
}
@@ -284,9 +293,11 @@ When using the BashOutput tool, follow these rules:
284
293
- Only Bash Tool run_in_background set to true, Use BashOutput to read the output later
285
294
### TodoWrite tool
286
295
When using the TodoWrite tool, follow these rules:
287
-
- Skip using the TodoWrite tool for simple or straightforward tasks (roughly the easiest 25%).
296
+
- Skip using the TodoWrite tool for tasks with three or fewer steps.
288
297
- Do not make single-step todo lists.
289
-
- When you made a todo, update it after having performed one of the sub-tasks that you shared on the todo list.`
298
+
- When you made a todo, update it after having performed one of the sub-tasks that you shared on the todo list.
299
+
## Special user requests
300
+
- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as ''date''), you should do so.`
0 commit comments