mirror of https://github.com/dapr/dapr-agents.git
fix: refer properly to the model for openai chat
Signed-off-by: Casper Guldbech Nielsen <scni@novonordisk.com>
This commit is contained in:
parent
9e63c0eef2
commit
bcd9bc5dc4
|
@ -204,7 +204,7 @@ class OpenAIChatClient(OpenAIClientBase, ChatClientBase):
|
|||
|
||||
# If a model is provided, override the default model
|
||||
params["model"] = model or self.model
|
||||
span.set_attribute("gen_ai.request.model", model)
|
||||
span.set_attribute("gen_ai.request.model", params["model"])
|
||||
|
||||
# Prepare request parameters
|
||||
params = RequestHandler.process_params(
|
||||
|
|
Loading…
Reference in New Issue