Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update provider types
Browse files Browse the repository at this point in the history
cpsievert committed Dec 9, 2024
1 parent 61fe81a commit 2b5e030
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion chatlas/types/anthropic/_submit.py
Original file line number Diff line number Diff line change
@@ -32,7 +32,6 @@ class SubmitInputArgs(TypedDict, total=False):
"claude-3-haiku-20240307",
"claude-2.1",
"claude-2.0",
"claude-instant-1.2",
],
]
stop_sequences: Union[list[str], anthropic.NotGiven]
4 changes: 2 additions & 2 deletions chatlas/types/openai/_submit.py
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@
from typing import Iterable, Literal, Mapping, Optional, TypedDict, Union

import openai
import openai._types
import openai.types.chat.chat_completion_assistant_message_param
import openai.types.chat.chat_completion_audio_param
import openai.types.chat.chat_completion_function_call_option_param
@@ -42,6 +41,7 @@ class SubmitInputArgs(TypedDict, total=False):
"o1-mini",
"o1-mini-2024-09-12",
"gpt-4o",
"gpt-4o-2024-11-20",
"gpt-4o-2024-08-06",
"gpt-4o-2024-05-13",
"gpt-4o-realtime-preview",
@@ -129,7 +129,7 @@ class SubmitInputArgs(TypedDict, total=False):
top_logprobs: Union[int, None, openai.NotGiven]
top_p: Union[float, None, openai.NotGiven]
user: str | openai.NotGiven
extra_headers: Optional[Mapping[str, Union[str, openai._types.Omit]]]
extra_headers: Optional[Mapping[str, Union[str, openai.Omit]]]
extra_query: Optional[Mapping[str, object]]
extra_body: object | None
timeout: float | openai.Timeout | None | openai.NotGiven

0 comments on commit 2b5e030

Please sign in to comment.