更新readme

This commit is contained in:
yuruo
2025-03-19 12:16:59 +08:00
parent 64186127ab
commit 0e51279708
4 changed files with 6 additions and 5 deletions

View File

@@ -70,7 +70,6 @@ Support model:
| Vendor| Model |
| --- | --- |
| [openainext](https://api.openai-next.com) | gpt-4o,gpt-4o-2024-08-06,gpt-4o-2024-11-20 |
|[yeka](https://2233.ai/api)|gpt-4o,o1|
|openai|gpt-4o,gpt-4o-2024-08-06,gpt-4o-2024-11-20,o1,4.gpt-4.5-preview-2025-02-27,|

View File

@@ -65,7 +65,6 @@ python main.py
| Vendor| Model |
| --- | --- |
| [openainext](https://api.openai-next.com) | gpt-4o,gpt-4o-2024-08-06,gpt-4o-2024-11-20 |
|[yeka](https://2233.ai/api)|gpt-4o,o1|
|openai|gpt-4o,gpt-4o-2024-08-06,gpt-4o-2024-11-20,o1,4.gpt-4.5-preview-2025-02-27,|

View File

@@ -84,7 +84,6 @@ pip3 install torch torchvision torchaudio --index-url https://download.pytorch.o
| Vendor| Model |
| --- | --- |
| [openainext](https://api.openai-next.com) | gpt-4o,gpt-4o-2024-08-06,gpt-4o-2024-11-20 |
|[yeka](https://2233.ai/api)|gpt-4o,o1|
|openai|gpt-4o,gpt-4o-2024-08-06,gpt-4o-2024-11-20,o1,4.gpt-4.5-preview-2025-02-27,|

View File

@@ -157,8 +157,12 @@ def process_input(user_input, state, vision_agent_state):
for i in range(len(state["tasks"])):
state["tasks"][i]["status"] = ""
task_completed_number = json.loads(state["messages"][-1]["content"])["current_task_id"]
for i in range(task_completed_number+1):
state["tasks"][i]["status"] = ""
if task_completed_number > len(state["tasks"]) + 1:
for i in range(len(state["tasks"])):
state["tasks"][i]["status"] = ""
else:
for i in range(task_completed_number + 1):
state["tasks"][i]["status"] = ""
# Rebuild chatbox messages from the original messages
state["chatbox_messages"] = []