Skip to content

Commit

Permalink
Merge pull request #387 from mindsdb/agent-model-opt
Browse files Browse the repository at this point in the history
Model of an agent is optional
  • Loading branch information
ea-rus authored Jul 10, 2024
2 parents 6780409 + df45eba commit 29c8ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mindsdb_sql/parser/dialects/mindsdb/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def create_agent(self, p):

return CreateAgent(
name=p.identifier,
model=params.pop('model'),
model=params.pop('model', None),
params=params,
if_not_exists=p.if_not_exists_or_empty
)
Expand Down

0 comments on commit 29c8ccd

Please sign in to comment.