llama-stack-mirror/tests/unit/providers/inference
Charlie Doern 2e5d1c8881 refactor: enforce top-level imports for llama-stack-api
Enforce that all imports from llama-stack-api use the form:

from llama_stack_api import <symbol>

 This prevents external code from accessing internal package structure
 (e.g., llama_stack_api.agents, llama_stack_api.common.*) and establishes
 a clear public API boundary.

 Changes:
 - Export 400+ symbols from llama_stack_api/__init__.py
 - Include all API types, common utilities, and strong_typing helpers
 - Update files across src/llama_stack, docs/, tests/, scripts/
 - Convert all submodule imports to top-level imports
 - ensure docs use the proper importing structure

 Addresses PR review feedback requiring explicit __all__ definition to
 prevent "peeking inside" the API package.

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2025-11-13 14:14:52 -05:00
..
bedrock fix: use lambda pattern for bedrock config env vars (#3307) 2025-09-05 10:45:11 +02:00
test_bedrock_adapter.py refactor: enforce top-level imports for llama-stack-api 2025-11-13 14:14:52 -05:00
test_bedrock_config.py feat: add OpenAI-compatible Bedrock provider (#3748) 2025-11-06 17:18:18 -08:00
test_inference_client_caching.py feat: add provider data keys for Cerebras, Databricks, NVIDIA, and RunPod (#3734) 2025-10-27 13:09:35 -07:00
test_litellm_openai_mixin.py fix(tests): reduce some test noise (#3825) 2025-10-16 09:52:16 -07:00
test_openai_base_url_config.py chore: turn OpenAIMixin into a pydantic.BaseModel (#3671) 2025-10-06 11:33:19 -04:00
test_remote_vllm.py refactor: enforce top-level imports for llama-stack-api 2025-11-13 14:14:52 -05:00