mirror of
https://github.com/kingomarnajjar/ChatDev.git
synced 2026-07-25 22:27:29 +10:00
Fix error in web spider from #315
This commit is contained in:
parent
db2e1ec854
commit
8619119d84
1 changed files with 2 additions and 2 deletions
|
|
@ -324,7 +324,7 @@ class LanguageChoose(Phase):
|
||||||
|
|
||||||
def update_phase_env(self, chat_env):
|
def update_phase_env(self, chat_env):
|
||||||
self.phase_env.update({"task": chat_env.env_dict['task_prompt'],
|
self.phase_env.update({"task": chat_env.env_dict['task_prompt'],
|
||||||
"description":"chat_env.env_dict['task_description']",
|
"description": chat_env.env_dict['task_description'],
|
||||||
"modality": chat_env.env_dict['modality'],
|
"modality": chat_env.env_dict['modality'],
|
||||||
"ideas": chat_env.env_dict['ideas']})
|
"ideas": chat_env.env_dict['ideas']})
|
||||||
|
|
||||||
|
|
@ -346,7 +346,7 @@ class Coding(Phase):
|
||||||
gui = "" if not chat_env.config.gui_design \
|
gui = "" if not chat_env.config.gui_design \
|
||||||
else "The software should be equipped with graphical user interface (GUI) so that user can visually and graphically use it; so you must choose a GUI framework (e.g., in Python, you can implement GUI via tkinter, Pygame, Flexx, PyGUI, etc,)."
|
else "The software should be equipped with graphical user interface (GUI) so that user can visually and graphically use it; so you must choose a GUI framework (e.g., in Python, you can implement GUI via tkinter, Pygame, Flexx, PyGUI, etc,)."
|
||||||
self.phase_env.update({"task": chat_env.env_dict['task_prompt'],
|
self.phase_env.update({"task": chat_env.env_dict['task_prompt'],
|
||||||
"description": "chat_env.env_dict['task_description']",
|
"description": chat_env.env_dict['task_description'],
|
||||||
"modality": chat_env.env_dict['modality'],
|
"modality": chat_env.env_dict['modality'],
|
||||||
"ideas": chat_env.env_dict['ideas'],
|
"ideas": chat_env.env_dict['ideas'],
|
||||||
"language": chat_env.env_dict['language'],
|
"language": chat_env.env_dict['language'],
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue