Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Rename response to result in logs
Tomas Valenta21684d4d33c9
diff --git a/api-service/agent/smol_agent.py b/api-service/agent/smol_agent.pyindex 420352a9a..a9a0ff5d2 100644--- a/api-service/agent/smol_agent.py+++ b/api-service/agent/smol_agent.py@@ -176,7 +176,7 @@ Begin generating the code now."prompt_tokens": response.llm_output["token_usage"]["prompt_tokens"]if response.llm_outputelse None,- "response_tokens": response.llm_output["token_usage"]["completion_tokens"]+ "result_tokens": response.llm_output["token_usage"]["completion_tokens"]if response.llm_outputelse None,"cost": cost,