You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workaround
This is how I am loading Prompty files to get function calling to work, this is not the correct behaviour (as it should read the functions from the .prompty file, but it works for me:
github-actionsbot
changed the title
Bug: Prompty not using tools_choice and tools field from template configuration
.Net: Bug: Prompty not using tools_choice and tools field from template configuration
Dec 14, 2024
Describe the bug
Prompty doesn't use the tools_choice and tools array from the template configuration.
You can see here that the field
FunctionChoiceBehavior
ofPromptExecutionSettings
is never set.Expected behavior
The field
tools_choice
should default to auto if not set and iftools
array has any function in it.Platform
Workaround
This is how I am loading Prompty files to get function calling to work, this is not the correct behaviour (as it should read the functions from the .prompty file, but it works for me:
The text was updated successfully, but these errors were encountered: