mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
## Summary Resolves all mypy errors in meta reference agent OpenAI responses implementation by adding proper type narrowing, None checks, and Sequence type support. ## Changes - Fixed streaming.py, openai_responses.py, utils.py, tool_executor.py, agent_instance.py - Added Sequence type support to schema generator (ensures correct JSON schema generation) - Applied union type narrowing and None checks throughout ## Test plan - All modified files pass mypy type checking (0 errors) - Schema generator produces correct `type: array` for Sequence types --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| auxiliary.py | ||
| classdef.py | ||
| core.py | ||
| deserializer.py | ||
| docstring.py | ||
| exception.py | ||
| inspection.py | ||
| mapping.py | ||
| name.py | ||
| py.typed | ||
| schema.py | ||
| serialization.py | ||
| serializer.py | ||
| slots.py | ||
| topological.py | ||