hello everyone. i have been experimenting with byt...
# agents
p
hello everyone. i have been experimenting with byteplus' models including deepseek v3.1 so far some models worked by using
openai.LLM.with_deepseek
however i get this error when passing the model
deepseek-v3-1-250821
{"message": "failed to generate LLM completion, retrying in 2.0s\nTraceback (most recent call last):\n  File \"/usr/local/lib/python3.10/site-packages/livekit/agents/llm/llm.py\", line 177, in _main_task\n    return await self._run()\n  File \"/usr/local/lib/python3.10/site-packages/livekit/plugins/openai/llm.py\", line 822, in _run\n    raise APIStatusError(\nlivekit.agents._exceptions.APIStatusError: Error code: 400 - {'error': {'code': 'InvalidParameter', 'message': 'not support strict mode temporarily. Request id: MASKED', 'param': '', 'type': 'BadRequest'}} (status_code=400, request_id=MASKED, body={'code': 'InvalidParameter', 'message': 'not support strict mode temporarily. Request id: MASKED', 'param': '', 'type': 'BadRequest'}, retryable=True)", "level": "WARNING", "name": "livekit.agents", "llm": "livekit.plugins.openai.llm.LLM", "attempt": 3, "pid": 38, "job_id": "MASKED", "timestamp": "2025-09-01T02:30:27.900566+00:00"}
not sure if this is on byteplus' end or i may have missed something.. appreciate any guidance 🙏
llm = openai.LLM.with_deepseek(
model="deepseek-v3-1-250821",
temperature=0.1,
api_key=os.getenv("ARK_API_KEY"),
base_url="https://ark.ap-southeast.bytepluses.com/api/v3",
),
$ pip freeze |grep livekit
livekit==1.0.12
livekit-agents==1.2.6
livekit-api==1.0.5
livekit-blingfire==1.0.0
livekit-plugins-azure==1.2.6
livekit-plugins-elevenlabs==1.2.6
livekit-plugins-noise-cancellation==0.2.5
livekit-plugins-openai==1.2.6
livekit-plugins-silero==1.2.6
livekit-plugins-turn-detector==1.2.6
livekit-protocol==1.0.4
(venv)