l
hi
t
Thanks for reaching out, Pavan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! Could you share a bit more about your question or what's going on? I'd love to help you out.
l
i need deepwik for devin ai link
t
Hey there! DeepWik is a handy platform for organizing technical content and managing documentation. It’s connected to Devin AI through a cool feature that lets you get your own private DeepWik instances, so you can securely host documentation tailored to your projects. Could you let me know what kind of help you’re looking for with DeepWik and Devin AI? Whether it’s setup tips, access links, or how to integrate everything, I’m here to help! Sources: AI Agents Framework | livekit/livekit_composite | DeepWiki | livekit/livekit_composite | DeepWiki | Knowledge Management System | livekit/livekit_composite | DeepWiki | Knowledge Management System | livekit/livekit_composite | DeepWiki | LLM Integrations | livekit/livekit_composite | DeepWiki
l
Traceback (most recent call last): File "C:\Codeshastra_Projects\multilingual-health-assistant-backend\main.py", line 97, in <module> azure_llm = LLM.with_azure( ^^^^^^^^^^^^^^^ TypeError: LLM.with_azure() got an unexpected keyword argument 'max_tokens' (venv) C:\Codeshastra_Projects\multilingual-health-assistant-backend>
t
Hey! The error you're seeing happens because the
LLM.with_azure()
method doesn’t recognize a parameter called
max_tokens
. Instead, you’ll want to use
max_completion_tokens
to set how long the response should be. Here’s a quick example to show you how to set it up properly:
Copy code
from livekit.plugins.openai import LLM

azure_llm = LLM.with_azure(
    model="gpt-4o",
    max_completion_tokens=1000,  # Use this instead of max_tokens
    temperature=0.8,
)
Just update your code like this, and it should fix the problem. If you run into any other issues or have questions, feel free to ask—I’m here to help! Sources: livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/stt.py | LLM | LiveKit Agents
l
hi
t
Hey there! Could you share a bit more about your question or what’s going on? I’m here to help and would love to get this sorted out for you.