mirror of
https://github.com/Zippland/Snap-Solver.git
synced 2026-02-10 08:17:13 +08:00
修复gemini接口,添加豆包接口
This commit is contained in:
@@ -46,7 +46,7 @@ class GoogleModel(BaseModel):
|
||||
|
||||
def get_model_identifier(self) -> str:
|
||||
"""返回默认的模型标识符"""
|
||||
return "gemini-2.5-pro-preview-03-25"
|
||||
return "gemini-2.0-flash" # 使用有免费配额的模型作为默认值
|
||||
|
||||
def analyze_text(self, text: str, proxies: dict = None) -> Generator[dict, None, None]:
|
||||
"""流式生成文本响应"""
|
||||
|
||||
Reference in New Issue
Block a user