show and update agentname/identifier
This commit is contained in:
1 parent
6530ff0a24
commit
ba48846ba1
3 files changed
+109
-2
No files matched your search
@@ -122,6 +122,7 @@ def start_server(app):
|
||||
agent_id = app.create_agent(
|
||||
user_id=user_id,
|
||||
name=body['name'],
|
||||
agentname=body.get('agentname'),
|
||||
description=body.get('description'),
|
||||
picture=body.get('picture'),
|
||||
kind=body['kind'],
|
||||
@@ -134,6 +135,7 @@ def start_server(app):
|
||||
app.update_agent(
|
||||
agent_id=agent_id,
|
||||
name=body.get('name'),
|
||||
agentname=body.get('agentname'),
|
||||
description=body.get('description'),
|
||||
picture=body.get('picture'),
|
||||
data=body.get('data', {})
|
||||
|
||||
Reference in new issue
Block a user