agents
agents copied to clipboard
fix(groq-llm): temperature type
This fix will resolve TypeError: Object of type NotGiven is not JSON serializable
maybe related to https://github.com/livekit/agents/pull/1730 @jayeshp19 @theomonnom
✅ Changeset File Detected
The following changeset entries were found:
patch-livekit-plugins-groq
Change description: fix(groq-llm): temperature type (#2137)
@civilcoder55 which version did you see this error with? I'm not able to repro.
we have a check that would not pass NOT_GIVEN into the model:
if is_given(self._opts.temperature):
extra["temperature"] = self._opts.temperature