anthropics / anthropics/claude-agent-sdk-python

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

Aberta
#682 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
8.1k
Forks
1.3k
Merge médio
2d 31min
PRs com merge (30d)
1

Descrição

- 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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.