llama-stack-mirror/llama_stack
ashwinb 47d5af703c
chore(responses): Refactor Responses Impl to be civilized (#3138)
# What does this PR do?
Refactors the OpenAI responses implementation by extracting streaming and tool execution logic into separate modules. This improves code organization by:

1. Creating a new `StreamingResponseOrchestrator` class in `streaming.py` to handle the streaming response generation logic
2. Moving tool execution functionality to a dedicated `ToolExecutor` class in `tool_executor.py`

## Test Plan

Existing tests
2025-08-15 00:05:35 +00:00
..
apis Revert "feat: add batches API with OpenAI compatibility" (#3149) 2025-08-14 10:08:54 -07:00
cli chore: rename templates to distributions (#3035) 2025-08-04 11:34:17 -07:00
core Revert "feat: add batches API with OpenAI compatibility" (#3149) 2025-08-14 10:08:54 -07:00
distributions fix: Dell distribution missing kvstore (#3113) 2025-08-13 06:18:25 -07:00
models chore(tests): fix responses and vector_io tests (#3119) 2025-08-12 16:15:53 -07:00
providers chore(responses): Refactor Responses Impl to be civilized (#3138) 2025-08-15 00:05:35 +00:00
strong_typing chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
testing fix(recording): endpoint resolution (#3013) 2025-08-01 16:23:54 -07:00
ui feat(UI): Adding linter and prettier for UI (#3156) 2025-08-14 15:58:43 -06:00
__init__.py chore(rename): move llama_stack.distribution to llama_stack.core (#2975) 2025-07-30 23:30:53 -07:00
env.py refactor(test): move tools, evals, datasetio, scoring and post training tests (#1401) 2025-03-04 14:53:47 -08:00
log.py chore(tests): fix responses and vector_io tests (#3119) 2025-08-12 16:15:53 -07:00
schema_utils.py feat(auth): API access control (#2822) 2025-07-24 15:30:48 -07:00