fix(accumulator): warn on malformed streamed tool arguments - #2844
fix(accumulator): warn on malformed streamed tool arguments#2844mikemikimike wants to merge 6 commits into
Conversation
|
The added observability is useful, but I think this exact form creates two safety problems:
A minimal fail-closed contract would be:
For AgentScope, this belongs locally in the accumulator/ |
|
Addressed in 6106aa9: malformed tool-call diagnostics now log only tool id/name, UTF-8 byte length, SHA-256 digest, exception type, and message. The raw argument payload is no longer emitted to default logs. Existing {} fallback and merged-argument behavior remain unchanged. Focused tests (16/16), module tests, Spotless, and git diff --check pass. The earlier full CI failure was unrelated, in agentscope-harness teardown. |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Thanks — The execution-integrity issue is still present, though, and the new regression currently locks it in: A minimal follow-up can stay local and avoid choosing a repair policy here:
If changing |
Summary
{}content fallback and merged-argument behaviorTesting
mvn -pl agentscope-core -Dtest=ToolCallsAccumulatorTest testmvn -pl agentscope-core testmvn -pl agentscope-core spotless:checkgit diff --checkCloses #2841