Repository navigation
fix(agentstudio): preserve tool configuration round-trip - #304
leonardocuco wants to merge 4 commits into
Conversation
|
Claude Code reviewed this change at 509e33a for the author: 7 findings, 0 fixed. All are minor or pre-existing, so nothing was pushed.
Checks on this head are green. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Claude Code reviewed this change at 34aabb7 for the author: 8 findings, 0 fixed, all left for the author. Separately, the lint failure (stylecheck initialism names) is fixed in f0659f8.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f0659f87e0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Problem
Agent create/update payloads containing
algolia_compare_productscan lose tool fields such asdescriptionwhen the pinned Go SDK decodes and re-encodes a variant it does not yet model. The same SDK decoding also drops the description fromagents getoutput, even when the API stored it correctly.Change
toolsvalue when sendingagents createandagents update, including--json,--fileand stdin. The API remains responsible for validating tools.toolspayload inagents getJSON and JSONPath output while retaining SDK handling for other response fields and API errors.This targets a confirmed tool-configuration gap; it does not assert parity for all agent fields. The SDK may expose an API error message that itself reflects a secret; this PR does not establish general error redaction.
Verification
go test ./...go build ./...gofumptandgit diff --checkRelated to CEC-1883 (C4). Draft during code freeze; no release or deployment. The new read-path fix has not yet been validated against a running backend.