mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
BaseResponsesAPIConfig
This commit is contained in:
parent
980354b78b
commit
c7e8534df4
1 changed files with 10 additions and 0 deletions
|
|
@ -52,6 +52,16 @@ class BaseResponsesAPIConfig(ABC):
|
|||
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def validate_environment(
|
||||
self,
|
||||
headers: dict,
|
||||
model: str,
|
||||
api_key: Optional[str] = None,
|
||||
) -> dict:
|
||||
return {}
|
||||
|
||||
@abstractmethod
|
||||
def get_complete_url(
|
||||
self,
|
||||
api_base: Optional[str],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue