Skip to content

Commit

Permalink
Fix typo that calls semantic function instead of native function when… (
Browse files Browse the repository at this point in the history
#815)

Fix typo that calls semantic function instead of native function when in
a jupyter notebook

Co-authored-by: Devis Lucato <dluc@users.noreply.github.com>
  • Loading branch information
mkarle and dluc committed May 4, 2023
1 parent 2df5e5d commit d55519d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/semantic_kernel/orchestration/sk_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def invoke(
if self.is_semantic:
return self._runThread(self._invoke_semantic_async(context, settings))
else:
return self._runThread(self._invoke_semantic_async(context))
return self._runThread(self._invoke_native_async(context))
else:
if self.is_semantic:
return asyncio.run(self._invoke_semantic_async(context, settings))
Expand Down

0 comments on commit d55519d

Please sign in to comment.