Reduce type: ignore comments by fixing avoidable type mismatches
Replace ~20 type: ignore comments with proper type fixes: - Widen set_tools() to accept List[dict] | ToolsSchema | NotGiven - Widen create_task() to accept Coroutine | Awaitable - Fix _turn_params to use BaseTurnParams instead of SmartTurnParams - Make _thought_llm Optional[str] with assertion guard - Add mixer assertion, websocket narrowing, ice_servers cast - Use dict.get() in protobuf serializer - Make remote_participants Optional in Daily transport Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1 +1 @@
|
||||
- Added pyright basic type checking configuration for the core framework, fixing 276 type errors across 64 files.
|
||||
- Added pyright basic type checking configuration for the core framework.
|
||||
|
||||
Reference in New Issue
Block a user