Skip to content

Commit 37eea1e

Browse files
committed
Fixed usage example
1 parent d1b55af commit 37eea1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mindsdb_sdk/agents.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class Agent:
4141
>>> new_model = models.get('new_model')
4242
>>> agent.model_name = new_model.name
4343
>>> new_skill = skills.create('new_skill', 'sql', { 'tables': ['new_table'], 'database': 'new_database' })
44+
>>> updated_agent.skills.append(new_skill)
4445
>>> updated_agent = agents.update('my_agent', agent)
4546
4647
Delete an agent by name:

0 commit comments

Comments
 (0)