mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-19 19:06:07 +00:00
feat: 添加更多LLM模型
This commit is contained in:
@@ -13,7 +13,7 @@ class LLMModelInfo(pydantic.BaseModel):
|
||||
|
||||
name: str
|
||||
|
||||
provider: str
|
||||
model_name: typing.Optional[str] = None
|
||||
|
||||
token_mgr: token.TokenManager
|
||||
|
||||
@@ -23,5 +23,7 @@ class LLMModelInfo(pydantic.BaseModel):
|
||||
|
||||
tool_call_supported: typing.Optional[bool] = False
|
||||
|
||||
max_tokens: typing.Optional[int] = 2048
|
||||
|
||||
class Config:
|
||||
arbitrary_types_allowed = True
|
||||
|
||||
Reference in New Issue
Block a user