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

add new bot_name field to fp.make_app() #120

Merged
merged 31 commits into from
Aug 28, 2024
Merged

Conversation

JohntheLi
Copy link
Collaborator

this will allow developers to pass in bot_name and auto-sync settings on server startup

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
so that users can call fp.sync_bot_settings
add optional settings parameter to sync_bot_settings, which hits the new endpoint that does not require fetching settings from a running instance of the bot server.
@JohntheLi JohntheLi merged commit 322d279 into poe-platform:main Aug 28, 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