Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Rename response to result in logs

Tomas Valenta21684d4d33c9
diff --git a/api-service/agent/smol_agent.py b/api-service/agent/smol_agent.py
index 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_output
else None,
- "response_tokens": response.llm_output["token_usage"]["completion_tokens"]
+ "result_tokens": response.llm_output["token_usage"]["completion_tokens"]
if response.llm_output
else None,
"cost": cost,