Unverified Commit 61aaeff4 authored by waltcow's avatar waltcow Committed by GitHub

Fix variable name in AgentApplicationRunner (#1884)

parent 4e1cd75f
...@@ -237,8 +237,8 @@ class AgentApplicationRunner(AppRunner): ...@@ -237,8 +237,8 @@ class AgentApplicationRunner(AppRunner):
all_message_tokens = 0 all_message_tokens = 0
all_answer_tokens = 0 all_answer_tokens = 0
for agent_thought in agent_thoughts: for agent_thought in agent_thoughts:
all_message_tokens += agent_thought.message_tokens all_message_tokens += agent_thought.message_token
all_answer_tokens += agent_thought.answer_tokens all_answer_tokens += agent_thought.answer_token
model_type_instance = model_config.provider_model_bundle.model_type_instance model_type_instance = model_config.provider_model_bundle.model_type_instance
model_type_instance = cast(LargeLanguageModel, model_type_instance) model_type_instance = cast(LargeLanguageModel, model_type_instance)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment