mirror of
https://github.com/openai/codex.git
synced 2026-11-19 07:03:23 +00:00
Track remaining multi-agent v2 tools in analytics (#40585)
## What changed - Record collaboration tool analytics for `send_message`, `followup_task`, `interrupt_agent`, and `list_agents`, including receiver attribution, duration, failures, and interrupted calls. - Include these calls in per-turn subagent tool counts while keeping the existing `subAgentActivity` output unchanged and omitting additional public collaborator tool items. - Extend the collaboration tool schemas with the new tool variants and the `interrupted` terminal status. ## Testing - Add an app-server integration test covering successful and failed calls, receiver attribution, duration, prompt omission, activity items, and turn counts. GitOrigin-RevId: e73eaa05c508261e5fc97e7d08d7881a31e04e22
This commit is contained in:
1 parent
d52478c52e
commit
4fa6ad1730
38 files changed
+472
-45
No files matched your search
@@ -288,6 +288,10 @@ pub enum CollabAgentTool {
|
||||
ResumeAgent,
|
||||
Wait,
|
||||
CloseAgent,
|
||||
SendMessage,
|
||||
FollowupTask,
|
||||
InterruptAgent,
|
||||
ListAgents,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Copy, Deserialize, Serialize, TS, JsonSchema, PartialEq, Eq)]
|
||||
@@ -296,6 +300,7 @@ pub enum CollabAgentToolCallStatus {
|
||||
InProgress,
|
||||
Completed,
|
||||
Failed,
|
||||
Interrupted,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Deserialize, Serialize, TS, JsonSchema, PartialEq)]
|
||||
|
||||
Reference in new issue
Block a user