Skip to content

Commit

Permalink
fix str kb_node_urls
Browse files Browse the repository at this point in the history
  • Loading branch information
moarshy committed Dec 20, 2024
1 parent c251b1b commit afaab07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions naptha_sdk/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,8 @@ async def run(

if module_type == "agent":
print("Running Agent...")
if isinstance(kb_node_urls, str):
kb_node_urls = [kb_node_urls]

kb_deployments = []
for kb_node_url in kb_node_urls:
Expand Down

0 comments on commit afaab07

Please sign in to comment.