chore: make all remote inference provider configs RemoteInferenceProviderConfigs

This commit is contained in:
Matthew Farrellee 2025-10-02 18:13:50 -04:00
parent 4dfbe46954
commit 71d67a983e
37 changed files with 65 additions and 26 deletions

View file

@ -6,13 +6,14 @@
from pathlib import Path
from pydantic import BaseModel, Field, field_validator
from pydantic import Field, field_validator
from llama_stack.providers.utils.inference.model_registry import RemoteInferenceProviderConfig
from llama_stack.schema_utils import json_schema_type
@json_schema_type
class VLLMInferenceAdapterConfig(BaseModel):
class VLLMInferenceAdapterConfig(RemoteInferenceProviderConfig):
url: str | None = Field(
default=None,
description="The URL for the vLLM model serving endpoint",