Skip to content

Commit

Permalink
fix: Patch instructions and canonical name
Browse files Browse the repository at this point in the history
  • Loading branch information
whiterabbit1983 committed Jan 14, 2025
1 parent 633164b commit 0aa9621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents-api/agents_api/queries/agents/patch_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def patch_agent(
data.metadata,
data.model,
data.default_settings.model_dump() if data.default_settings else None,
data.instructions,
[data.instructions] if isinstance(data.instructions, str) else data.instructions,
data.canonical_name,
]

Expand Down

0 comments on commit 0aa9621

Please sign in to comment.