feat: add tools from the Python client (#1463)
This commit is contained in:
@@ -40,9 +40,7 @@ def agent():
|
||||
if not client.server.get_user(user_id=user_id):
|
||||
client.server.create_user({"id": user_id})
|
||||
|
||||
agent_state = client.create_agent(
|
||||
preset=constants.DEFAULT_PRESET,
|
||||
)
|
||||
agent_state = client.create_agent()
|
||||
|
||||
return client.server._get_or_load_agent(user_id=user_id, agent_id=agent_state.id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user