This commit is contained in:
2025-08-15 16:33:05 +08:00
parent c7d7ece6a4
commit 7b149f0f51
5 changed files with 56 additions and 32 deletions

View File

@@ -1,3 +1,4 @@
from Config.GoApiConst import MODEL_GPT35, MODEL_GPT4
from Util.GoApiUtil import ModelInteractor
# 示例使用
@@ -6,7 +7,7 @@ if __name__ == "__main__":
interactor = ModelInteractor()
# 使用不同的模型和提示词
model_name = "gemini-2.5-pro"
model_name = MODEL_GPT4
prompt_text = "请详细介绍一下你自己,分成几个段落来说明"
# 发送流式请求