feat: move agent_id from query param to path variable and remove unus… (#1094)
Co-authored-by: cpacker <packercharles@gmail.com>
This commit is contained in:
@@ -17,12 +17,12 @@ agent_obj = None
|
||||
def create_test_agent():
|
||||
"""Create a test agent that we can call functions on"""
|
||||
wipe_config()
|
||||
global client
|
||||
if os.getenv("OPENAI_API_KEY"):
|
||||
create_config("openai")
|
||||
else:
|
||||
create_config("memgpt_hosted")
|
||||
|
||||
global client
|
||||
client = create_client()
|
||||
agent_state = client.create_agent(
|
||||
name=test_agent_name,
|
||||
|
||||
Reference in New Issue
Block a user