Skip to content

Commit

Permalink
feat: changes create agent API to accept optional system value. (#1575)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahwooders authored Jul 26, 2024
2 parents a33c4c2 + c353224 commit 6b34864
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions memgpt/server/rest_api/agents/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def create_agent(
# TODO turn into a pydantic model
name=request.config["name"],
memory=memory,
system=request.config.get("system", None),
# persona_name=persona_name,
# human_name=human_name,
# persona=persona,
Expand Down

0 comments on commit 6b34864

Please sign in to comment.