Skip to content

test: cover api conversation edge cases#1

Closed
doctarock wants to merge 1 commit into
issue-8-monolith-refactorfrom
codex/pr-27-api-conversation-edge-tests
Closed

test: cover api conversation edge cases#1
doctarock wants to merge 1 commit into
issue-8-monolith-refactorfrom
codex/pr-27-api-conversation-edge-tests

Conversation

@doctarock
Copy link
Copy Markdown
Owner

Adds the two prepareApiConversationMessage edge-case tests requested during review of Zoo-Code-Org#27:

  • Anthropic reasoning without getThoughtSignature falls back to a generic reasoning block
  • User tool_result content is converted to text when the last effective history message is not an assistant

Validation:

  • corepack pnpm --dir src exec vitest run core/task/__tests__/apiConversationHistory.spec.ts
  • corepack pnpm --dir src check-types

Note: local install/check commands warned that the shell is using Node v22.14.0 while the repo asks for Node 20.19.2, but both validation commands passed.

@doctarock doctarock closed this May 11, 2026
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.

1 participant