<@U084APK40NS> please give me an example for mistr...
# ask-ai
p
@millions-hair-24956 please give me an example for mistral agent
g
Currently, there is no specific example for using Mistral with LiveKit in the provided data sources. However, if Mistral has an OpenAI-compatible API, you can integrate it with LiveKit by using the OpenAI-compatible LLMs plugin. This would involve a simple code modification to use Mistral's models. For more details, you can refer to the OpenAI-compatible LLMs documentation. Would you like more detailed guidance on setting this up? Sources: - https://docs.livekit.io/home/client/tracks/ - https://livekit-users.slack.com/archives/C07FY8WHGPM/p1729744626.337439 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
p
I get this error:
Copy code
livekit.agents._exceptions.APIStatusError: Error code: 422 - {'object': 'error', 'message': {'detail': [{'type': 'extra_forbidden', 'loc': ['body', 'stream_options', 'include_usage'], 'msg': 'Extra inputs are not permitted', 'input': True, 'url': '<https://errors.pydantic.dev/2.10/v/extra_forbidden'}]}>, 'type': 'invalid_request_error', 'param': None, 'code': None} (status_code=422, request_id=None, body={'object': 'error', 'message': {'detail': [{'type': 'extra_forbidden', 'loc': ['body', 'stream_options', 'include_usage'], 'msg': 'Extra inputs are not permitted', 'input': True, 'url': '<https://errors.pydantic.dev/2.10/v/extra_forbidden'}]}>, 'type': 'invalid_request_error', 'param': None, 'code': None})
@millions-hair-24956 I get this error
Copy code
livekit.agents._exceptions.APIStatusError: Error code: 422 - {'object': 'error', 'message': {'detail': [{'type': 'extra_forbidden', 'loc': ['body', 'stream_options', 'include_usage'], 'msg': 'Extra inputs are not permitted', 'input': True, 'url': '<https://errors.pydantic.dev/2.10/v/extra_forbidden'}]}>, 'type': 'invalid_request_error', 'param': None, 'code': None} (status_code=422, request_id=None, body={'object': 'error', 'message': {'detail': [{'type': 'extra_forbidden', 'loc': ['body', 'stream_options', 'include_usage'], 'msg': 'Extra inputs are not permitted', 'input': True, 'url': '<https://errors.pydantic.dev/2.10/v/extra_forbidden'}]}>, 'type': 'invalid_request_error', 'param': None, 'code': None})
g
I'm not able to find any data sources to answer your question. You might want to provide more context about the API request or configuration that led to this error. If this doesn't help, please reach out to the Livekit support team for further assistance. 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.