Skip to content

Conversation

omaryashraf5
Copy link
Contributor

What does this PR do?

Removes dead code in some of the inference adapters.

Test Plan

ci

@omaryashraf5 omaryashraf5 self-assigned this Oct 3, 2025
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 3, 2025
@omaryashraf5 omaryashraf5 marked this pull request as draft October 3, 2025 01:40
@omaryashraf5 omaryashraf5 changed the title Code refactoring and removing dead code chore: Code refactoring and removing dead code Oct 3, 2025
Omar Abdelwahab added 3 commits October 6, 2025 11:39
- Restored CompletionResponse and CompletionResponseStreamChunk classes in inference.py
- Fixed SamplingParams import in test_resolver.py
- Fixed openai_compat.py imports
- Added missing pytest configuration files
- Fixed registry error messages
- All fixes needed to make CI tests pass
This fixes the CI failure:
NameError: name 'SamplingParams' is not defined

The test_resolver.py file needed to import SamplingParams from llama_stack.apis.inference
to resolve the CI test collection error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant