Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poebot: improve error response #112

Merged
merged 20 commits into from
Jul 2, 2024
Merged

poebot: improve error response #112

merged 20 commits into from
Jul 2, 2024

Conversation

JohntheLi
Copy link
Collaborator

improve error response from bots. To better differentiate user facing and raw error.

rather than concatenating to existing, insert them as new messages. This provides a better prompting for LLMs.
will deprecate the old function, keeping it around for now. But this is still a breaking feature as the default has been changed to use the new insertion method instead.
prepare 0.0.43 for release
Was test fail with following message:
The version '3.7' with architecture 'arm64' was not found for macOS 14.4.1.
Which apparently is from github runner's macos-latest switching to an arm64 mac.
this is to help bot creators distinguish who sent what message in a scenario where there are multiple bots in the chat.
- Add language_code, the BCP 47 language code the user selected for their client. Note this is not necessarily the language of the messages.
- Send raw_response from ErrorResponse to Poe for better logging.
improve error response from bots
@JohntheLi JohntheLi merged commit 93c0cf0 into poe-platform:main Jul 2, 2024
20 checks passed
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