mirror of
https://github.com/FuQuan233/nonebot-plugin-llmchat.git
synced 2025-09-06 19:40:44 +00:00
✨ support api proxy #14
This commit is contained in:
parent
4af60b8145
commit
a7b57ae375
2 changed files with 15 additions and 5 deletions
|
@ -10,6 +10,7 @@ class PresetConfig(BaseModel):
|
|||
model_name: str = Field(..., description="模型名称")
|
||||
max_tokens: int = Field(2048, description="最大响应token数")
|
||||
temperature: float = Field(0.7, description="生成温度(0-2]")
|
||||
proxy: str = Field(None, description="HTTP代理服务器")
|
||||
|
||||
|
||||
class ScopedConfig(BaseModel):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue