Skip to content

Commit

Permalink
fixed autogen logging
Browse files Browse the repository at this point in the history
  • Loading branch information
areibman committed Dec 10, 2024
1 parent 259550d commit eabc88e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agentops/partners/autogen_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def log_chat_completion(
# Note: Autogen tokens are not included in the request and function call tokens are not counted in the completion
llm_event = LLMEvent(
prompt=request["messages"],
completion=completion.message,
completion=completion.message.to_dict(),
model=response.model,
cost=cost,
returns=completion.message.to_json(),
Expand Down

0 comments on commit eabc88e

Please sign in to comment.