mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-07-27 01:45:40 +00:00
fix: nest model_id/provider_id under model key in SessionInitParams
This commit is contained in:
parent
736c9e5ac4
commit
c914b7bb98
1 changed files with 2 additions and 3 deletions
|
|
@ -5,6 +5,7 @@ from __future__ import annotations
|
|||
from typing_extensions import Required, Annotated, TypedDict
|
||||
|
||||
from .._utils import PropertyInfo
|
||||
from .session_chat_params import ModelParam
|
||||
|
||||
__all__ = ["SessionInitParams"]
|
||||
|
||||
|
|
@ -12,6 +13,4 @@ __all__ = ["SessionInitParams"]
|
|||
class SessionInitParams(TypedDict, total=False):
|
||||
message_id: Required[Annotated[str, PropertyInfo(alias="messageID")]]
|
||||
|
||||
model_id: Required[Annotated[str, PropertyInfo(alias="modelID")]]
|
||||
|
||||
provider_id: Required[Annotated[str, PropertyInfo(alias="providerID")]]
|
||||
model: Required[ModelParam]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue