-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Description
I had a simple PDL program containing only defs:
defs:
# ... several other defs, ~85 lines
get_current_weather:
function:
subject: str
return:
api: https
url: https://api.weatherapi.com/v1/current.json?key=cf601276764642cb96224947230712&q=
input: "{{ subject }}"
show_result: falseUpon executing the error message is:
examples/prompt_library/tools.pdl:0 - Missing required field: function
examples/prompt_library/tools.pdl:0 - Missing required field: return
The problem is actually show_result: false which is not on line 0 and not clear from the missing field errors.
Metadata
Metadata
Assignees
Labels
No labels