Spaces:
Sleeping
Sleeping
Update agents_config.py
Browse files- agents_config.py +2 -5
agents_config.py
CHANGED
|
@@ -14,9 +14,6 @@ MODEL_MAP = {
|
|
| 14 |
}
|
| 15 |
|
| 16 |
def get_llm_config(model_id, user_token):
|
| 17 |
-
"""
|
| 18 |
-
تطبيق منطق الاستدعاء الذي قدمته على جميع النماذج
|
| 19 |
-
"""
|
| 20 |
return {
|
| 21 |
"config_list": [
|
| 22 |
{
|
|
@@ -87,10 +84,10 @@ def create_agents(user_token):
|
|
| 87 |
llm_config=get_llm_config(MODEL_MAP["Critic"], user_token)
|
| 88 |
)
|
| 89 |
|
| 90 |
-
# 9. رئيس التحرير
|
| 91 |
editor = autogen.UserProxyAgent(
|
| 92 |
name="Editor_In_Chief",
|
| 93 |
-
human_input_mode="
|
| 94 |
max_consecutive_auto_reply=15,
|
| 95 |
code_execution_config=False,
|
| 96 |
llm_config=get_llm_config(MODEL_MAP["Editor"], user_token),
|
|
|
|
| 14 |
}
|
| 15 |
|
| 16 |
def get_llm_config(model_id, user_token):
|
|
|
|
|
|
|
|
|
|
| 17 |
return {
|
| 18 |
"config_list": [
|
| 19 |
{
|
|
|
|
| 84 |
llm_config=get_llm_config(MODEL_MAP["Critic"], user_token)
|
| 85 |
)
|
| 86 |
|
| 87 |
+
# 9. رئيس التحرير - تم تعديل human_input_mode إلى NEVER
|
| 88 |
editor = autogen.UserProxyAgent(
|
| 89 |
name="Editor_In_Chief",
|
| 90 |
+
human_input_mode="NEVER",
|
| 91 |
max_consecutive_auto_reply=15,
|
| 92 |
code_execution_config=False,
|
| 93 |
llm_config=get_llm_config(MODEL_MAP["Editor"], user_token),
|