mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
BaseResponsesAPIConfig
This commit is contained in:
parent
73a94058ab
commit
5da3bcc9c5
1 changed files with 10 additions and 0 deletions
|
@ -52,6 +52,16 @@ class BaseResponsesAPIConfig(ABC):
|
||||||
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
|
def validate_environment(
|
||||||
|
self,
|
||||||
|
headers: dict,
|
||||||
|
model: str,
|
||||||
|
api_key: Optional[str] = None,
|
||||||
|
) -> dict:
|
||||||
|
return {}
|
||||||
|
|
||||||
|
@abstractmethod
|
||||||
def get_complete_url(
|
def get_complete_url(
|
||||||
self,
|
self,
|
||||||
api_base: Optional[str],
|
api_base: Optional[str],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue