Skip to content

Conversation

hudson-worden
Copy link

Fixes the following warning

packages/livekit/agents/llm/utils.py:410: PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0.

packages/livekit/agents/llm/utils.py:410: PydanticDeprecatedSince211: Accessing the 'model_fields' attribute on the instance is deprecated. Instead, you should access this attribute from the model class. Deprecated in Pydantic V2.11 to be removed in V3.0.
@hudson-worden
Copy link
Author

hudson-worden commented Sep 10, 2025

This is currently failing type checks for a problem that's already in main

livekit-agents/livekit/agents/tts/fallback_adapter.py:280: error: Incompatible types in assignment (expression has type "SynthesizeStream", variable has type "StreamAdapterWrapper") [assignment]

@davidzhao
Copy link
Member

I don't see the failure in main, maybe rebase?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants