anthropics / anthropics/claude-agent-sdk-python

output_format + resume is broken (or unsupported) at the CLI level

オープン
#682 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
8.1k
フォーク
1.3k
平均マージ
2日 31分
マージ済み PR(30日)
1

説明

- Task 1: structured_output type: dict — works, full audit returned
- Task 2: structured_output type: NoneType, value: None — CLI didn't return it. But the result field has plain text: the model
responded with regular text instead of JSON

So the --json-schema flag is not being enforced on resumed sessions. The CLI loads the prior session and the schema constraint
doesn't apply to the new turn. The model just answers in plain text.

This confirms: output_format + resume is broken (or unsupported) at the CLI level. The SDK passes both flags, but the CLI ignores
the schema on resume.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。