llama-stack-mirror/src/llama_stack/models/llama/llama3
Charlie Doern 43adc23ef6
refactor: remove dead inference API code and clean up imports (#4093)
# What does this PR do?

Delete ~2,000 lines of dead code from the old bespoke inference API that
was replaced by OpenAI-only API. This includes removing unused type
conversion functions, dead provider methods, and event_logger.py.

Clean up imports across the codebase to remove references to deleted
types. This eliminates unnecessary
code and dependencies, helping isolate the API package as a
self-contained module.

This is the last interdependency between the .api package and "exterior"
packages, meaning that now every other package in llama stack imports
the API, not the other way around.

## Test Plan

this is a structural change, no tests needed.

---------

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2025-11-10 15:29:24 -08:00
..
multimodal fix(mypy): resolve provider utility and testing type issues (#3935) 2025-10-28 10:37:27 -07:00
prompt_templates refactor: remove dead inference API code and clean up imports (#4093) 2025-11-10 15:29:24 -08:00
quantization chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
__init__.py chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
args.py chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
chat_format.py chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
dog.jpg chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
generation.py refactor: remove dead inference API code and clean up imports (#4093) 2025-11-10 15:29:24 -08:00
interface.py refactor: remove dead inference API code and clean up imports (#4093) 2025-11-10 15:29:24 -08:00
model.py chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
pasta.jpeg chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
template_data.py chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
tokenizer.model chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
tokenizer.py chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
tool_utils.py refactor: remove dead inference API code and clean up imports (#4093) 2025-11-10 15:29:24 -08:00