mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-10 11:03:42 +00:00
60a325e403
* fix: correct type annotations for anthropic streaming handlers - Fix return type of _handle_accumulated_json_chunk from Optional[GenericStreamingChunk] to Optional[ModelResponseStream] - Fix return type of _parse_sse_data from Optional[GenericStreamingChunk] to Optional[ModelResponseStream] - Add type annotation for output_items in background_streaming.py These changes align type annotations with actual return values from chunk_parser() which returns ModelResponseStream. * docs: add missing ONYX_API_KEY and ONYX_API_BASE to environment variables reference - Add ONYX_API_BASE documentation entry - Add ONYX_API_KEY documentation entry - Fixes test_env_keys.py test failure