Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarraann committed Jul 27, 2023
1 parent 4b876a5 commit f1882c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superagi/models/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ def eval_agent_config(cls, key, value):
"""

if key in ["name", "description", "agent_type", "exit", "model", "permission_type", "LTM_DB", "resource_summary"]:
if key in ["name", "description", "agent_type", "exit", "model", "permission_type", "LTM_DB", "resource_summary", "knowledge"]:
return value
elif key in ["project_id", "memory_window", "max_iterations", "iteration_interval", "knowledge"]:
elif key in ["project_id", "memory_window", "max_iterations", "iteration_interval"]:
return int(value)
elif key in ["goal", "constraints", "instruction", "is_deleted"]:
return eval(value)
Expand Down

0 comments on commit f1882c3

Please sign in to comment.