forked from phoenix/litellm-mirror
fix(vertex_ai_anthropic.py): support pre-filling "{" for json mode
This commit is contained in:
parent
b699d9a8b9
commit
4b1e85f54e
4 changed files with 137 additions and 55 deletions
|
@ -995,3 +995,8 @@ class GenericImageParsingChunk(TypedDict):
|
|||
type: str
|
||||
media_type: str
|
||||
data: str
|
||||
|
||||
|
||||
class ResponseFormatChunk(TypedDict, total=False):
|
||||
type: Required[Literal["json_object", "text"]]
|
||||
response_schema: dict
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue