You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Msg response = agent.call(List.of(msg), AgentRepo.class, ctx).block();
AgentRepo result = response.getStructuredData(AgentRepo.class);
异常信息:
io.agentscope.core.model.exception.BadRequestException: HTTP transport error during streaming: HTTP request failed with status 400 | {"error":{"message":"This response_format type is unavailable now","type":"invalid_request_error","param":null,"code":"invalid_request_error"}} | Response body: {"error":{"message":"This response_format type is unavailable now","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}
at io.agentscope.core.model.exception.OpenAIException.create(OpenAIException.java:79)
at io.agentscope.core.model.OpenAIClient.lambda$stream$2(OpenAIClient.java:431)
at reactor.core.publisher.Flux.lambda$onErrorMap$28(Flux.java:7318)
This is the same root cause as #1742 — OpenAIChatModel.supportsNativeStructuredOutput() returns true for DeepSeek, which does not support response_format. See PR #1743 for a fix that adds automatic fallback to the synthetic generate_response tool path.
Activity
Sparkle6979 commentedon Jun 13, 2026
This is the same root cause as #1742 —
OpenAIChatModel.supportsNativeStructuredOutput()returnstruefor DeepSeek, which does not supportresponse_format. See PR #1743 for a fix that adds automatic fallback to the syntheticgenerate_responsetool path.fix(agent): fallback to synthetic tool when native structured output …
netsion commentedon Jun 22, 2026
Will this bug be merged into the next release controller (RC) soon? Thanks! @chickenlj