Skip to content

fix: fold codex tool calls in chat#9

Open
Franklin-Zhang0 wants to merge 1 commit intoEriconaldo:mainfrom
Franklin-Zhang0:fix/codex-tool-folding
Open

fix: fold codex tool calls in chat#9
Franklin-Zhang0 wants to merge 1 commit intoEriconaldo:mainfrom
Franklin-Zhang0:fix/codex-tool-folding

Conversation

@Franklin-Zhang0
Copy link
Copy Markdown
Contributor

Summary

  • make Codex tool-call messages collapsible in the chat UI, matching the Claude provider behavior
  • support older Codex history entries that only stored plain content, so existing sessions also render as foldable tool messages
  • store live Codex tool events with structured toolInput and toolResult fields so new sessions render consistently

Testing

  • cd server && npm test -- AgentManager.codexTools.test.ts
  • cd client && npm test -- AgentChat.test.ts

@Ericonaldo
Copy link
Copy Markdown
Owner

These changes (collapsible codex tool messages, legacy content fallback, and structured toolInput/toolResult storage) seem to have already been merged as part of #8 — that PR included the same getToolMessageDetails function, the legacy content parsing logic, and the structured field storage in handleCodexMessage.

Can you double check and if confirmed can close this PR?

@Ericonaldo
Copy link
Copy Markdown
Owner

@Franklin-Zhang0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants