Hello, so I’m currently getting the following issue using gpt-oss-20b:
”Tool choice is none, but model called a tool”
→ my current model settings:
response_stream = await self.client.chat.completions.create(
model=self.model_name,
messages=groq_messages,
temperature=0.2,
max_completion_tokens=160,
reasoning_effort="low",
stream=True,
tools=None,
stop=None
)
So why is it trying to make a call to tools?
part of the error trace
python3.11/site-packages/groq/_streaming.py", line 147, in __aiter__
async for item in self._iterator:
python3.11/site-packages/groq/_streaming.py", line 193, in __stream__
raise APIError(
groq.APIError: Tool choice is none, but model called a tool