Federico Mariani created CAMEL-24721:
----------------------------------------
Summary: camel-openai: token budget and agentic observability for
the Responses tool loop
Key: CAMEL-24721
URL: https://issues.apache.org/jira/browse/CAMEL-24721
Project: Camel
Issue Type: Improvement
Components: camel-openai
Reporter: Federico Mariani
CAMEL-24670 adds a tool loop to the {{responses}} operation, but only
{{chat-completion}} supports the agentic extras:
* The cumulative {{CamelOpenAIAgenticPromptTokens}},
{{CamelOpenAIAgenticCompletionTokens}} and {{CamelOpenAIAgenticTotalTokens}}
headers are not set, so after a tool loop the token headers only reflect the
last model call.
* {{maxAgenticTokens}} is not enforced.
* The agentic trace ({{CamelOpenAIAgenticTrace}}) and the agentic loop
lifecycle events are not produced.
Support them in the Responses tool loop as {{chat-completion}} does.
_Claude Code on behalf of Federico Mariani (Croway)_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)