Spaces:
Running
Running
DmitriiKhizbullin
commited on
Commit
•
60eae5d
1
Parent(s):
5ca24d3
Fix the bug that the task was not set
Browse files- apps/agents/agents.py +1 -1
- requirements.txt +1 -1
- sync.sh +1 -1
apps/agents/agents.py
CHANGED
@@ -187,7 +187,7 @@ def role_playing_start(
|
|
187 |
session = RolePlaying(
|
188 |
assistant,
|
189 |
user,
|
190 |
-
original_task,
|
191 |
with_task_specify=with_task_specifier,
|
192 |
task_specify_agent_kwargs=task_specify_kwargs,
|
193 |
with_task_planner=False,
|
|
|
187 |
session = RolePlaying(
|
188 |
assistant,
|
189 |
user,
|
190 |
+
task_prompt=original_task,
|
191 |
with_task_specify=with_task_specifier,
|
192 |
task_specify_agent_kwargs=task_specify_kwargs,
|
193 |
with_task_planner=False,
|
requirements.txt
CHANGED
@@ -3,4 +3,4 @@ tenacity
|
|
3 |
tiktoken
|
4 |
colorama
|
5 |
gradio
|
6 |
-
git+https://github.com/lightaime/camel.git@
|
|
|
3 |
tiktoken
|
4 |
colorama
|
5 |
gradio
|
6 |
+
git+https://github.com/lightaime/camel.git@hf_spaces_3
|
sync.sh
CHANGED
@@ -4,7 +4,7 @@ HF_REPO_DIR=`realpath .`
|
|
4 |
echo $HF_REPO_DIR
|
5 |
|
6 |
mkdir -p $TMP_DIR
|
7 |
-
git clone -b
|
8 |
cd $TMP_DIR
|
9 |
|
10 |
find apps/agents -name "*.py" | grep -v test | xargs -n 1 -I {} rsync -R {} $HF_REPO_DIR
|
|
|
4 |
echo $HF_REPO_DIR
|
5 |
|
6 |
mkdir -p $TMP_DIR
|
7 |
+
git clone -b hf_spaces_3 https://github.com/lightaime/camel.git $TMP_DIR
|
8 |
cd $TMP_DIR
|
9 |
|
10 |
find apps/agents -name "*.py" | grep -v test | xargs -n 1 -I {} rsync -R {} $HF_REPO_DIR
|