fix: empty usage (#2168)
This commit is contained in:
parent
d42df4ed04
commit
6c614f0c1f
2 changed files with 2 additions and 2 deletions
|
|
@ -276,7 +276,7 @@ class AssistantFunctionCallApplicationRunner(BaseAssistantApplicationRunner):
|
|||
message=AssistantPromptMessage(
|
||||
content=final_answer,
|
||||
),
|
||||
usage=llm_usage['usage'],
|
||||
usage=llm_usage['usage'] if llm_usage['usage'] else LLMUsage.empty_usage(),
|
||||
system_fingerprint=''
|
||||
), PublishFrom.APPLICATION_MANAGER)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue