Spaces:
Sleeping
Sleeping
換成LiteLLMModel,仍然是gpt-4o
Browse files- litellm_endpoint.py +1 -1
litellm_endpoint.py
CHANGED
|
@@ -48,7 +48,7 @@ search_tool = DuckDuckGoSearchTool()
|
|
| 48 |
final_answer = FinalAnswerTool()
|
| 49 |
|
| 50 |
# 初始化 OpenAI 模型
|
| 51 |
-
model =
|
| 52 |
model_id="gpt-4o",
|
| 53 |
api_base="https://api.openai.com/v1",
|
| 54 |
api_key=os.environ["OPENAI_API_KEY"],
|
|
|
|
| 48 |
final_answer = FinalAnswerTool()
|
| 49 |
|
| 50 |
# 初始化 OpenAI 模型
|
| 51 |
+
model = LiteLLMModel(
|
| 52 |
model_id="gpt-4o",
|
| 53 |
api_base="https://api.openai.com/v1",
|
| 54 |
api_key=os.environ["OPENAI_API_KEY"],
|