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
{{ message }}
Repository navigation
Report generation fails when tool parameters don't have a type or description field defined. The num_tokens_for_tool() function assumes these fields are always present, causing crashes when they're missing from the parameter schema. #26
The function directly accesses [properties[key]["type"]] and [properties[key]["description"]] without checking if these keys exist. When tools have parameters that lack type or description fields, this causes KeyError exceptions that crash the report generation process.
Based on the repository information, here's the link to the file in the GitHub repository:
Activity
tylerpayne commentedon Sep 17, 2025
Nikhil Suresh (@nik1097) Thanks for your help reporting issues! Can you please confirm that #27 fixed this issue for you?
nik1097 commentedon Sep 17, 2025
#27 has fixed this issue, thanks!