Skip to content

Update base API executor prompt on how to handle errors and edge cases#16

Draft
tomaz-lc wants to merge 1 commit into
masterfrom
chore/update-skills
Draft

Update base API executor prompt on how to handle errors and edge cases#16
tomaz-lc wants to merge 1 commit into
masterfrom
chore/update-skills

Conversation

@tomaz-lc
Copy link
Copy Markdown
Contributor

Description

This pull request updates base api executor prompt to better handle various edge cases and errors.

Background, Context

In the wild, I noticed that we sometimes don't correctly handle various edge cases and error scenarios, things such as:

  • Tool / function returning a nil where we expect a value (e.g. generate_lcql_query returning nil)
  • Python integration crashing / not working (e.g. STDERR: Traceback (most recent call last): File "<string>", line 4, in <module> ModuleNotFoundError: No module named 'skills.limacharlie_call')

In both of those cases, it looked like we proceeded (in first case it hallucinated a query) where we shouldn't have.

Notes

This change may have a negative impact in other places so we will need to deploy it, test it will and observe for any issues related to this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant