Skip to content

Releases: poe-platform/fastapi_poe

0.0.48 Auto-sync bot settings on server startup

28 Aug 01:28
322d279
Compare
Choose a tag to compare

Add a settings sync inside fp.make_app, so that we can ensure the server has latest settings on startup.

0.0.47 expose sync_bot_settings

23 Jul 21:21
72e0ffd
Compare
Choose a tag to compare
  • users can now call sync_bot_settings using fp.sync_bot_settings()

Improve error responses

02 Jul 00:10
93c0cf0
Compare
Choose a tag to compare
  • users won't have to see unformatted raw errors

0.0.45 Add sync_bot_settings and language_code

17 Jun 23:39
c808e66
Compare
Choose a tag to compare

What's Changed

  • Add sync_bot_settings function to sync bot with correct protocol version.
  • Add language_code to QueryRequest and improve error logging.
  • Assign default None value to unspecified Bot settings.

Full Changelog: 0.0.44...0.0.45

0.0.44 Add sender_id field to ProtocolMessage

15 May 01:27
4bc2578
Compare
Choose a tag to compare
  • Added an additional field sender_id in ProtocolMessage. This is intended to help bot creators differentiate between who sent a particular message, which is useful in a multi-bot chat.

0.0.43 add should_insert_attachment_messages

08 May 00:50
435fd3b
Compare
Choose a tag to compare

Release Notes:

  • (deprecated) concat_attachments_to_message: this function added file content from user attachments directly into the text of the last user message. This method of adding attachments is suboptimal for LLMs and is being deprecated. Use the newly added should_insert_attachment_messages instead. This function will be removed in a future release.
  • (added) should_insert_attachment_messages: this function adds file contents from user attachments into their own individual messages and inserts them right before the last user message. This provides better LLM performance than concat_attachments_to_message. Note that this breaks the user-bot message alternation. If the LLM you are using requires that, try using make_prompt_author_role_alternated.
  • (added) make_prompt_author_role_alternated: this function takes in a conversation, and concats consecutive messages from the same role. This is useful for LLM providers that require role alternation.

Breaking Changes:

This release makes should_insert_attachment_messages=True by default, and disables the deprecated concat_attachments_to_message by default.

0.0.42

24 Apr 02:27
88e57b9
Compare
Choose a tag to compare

What's Changed

  • Adding attachment URL to post_message_attachment response.

Full Changelog: 0.0.41...0.0.42

0.0.41

24 Apr 01:35
f471849
Compare
Choose a tag to compare

What's Changed

  • Adding attachment URL to post_message_attachment response. by @YushengAuggie in #96

Full Changelog: 0.0.39...0.0.41

0.0.40

24 Apr 00:09
f471849
Compare
Choose a tag to compare

What's Changed

  • Adding attachment URL to post_message_attachment response. by @YushengAuggie in #96

New Contributors

Full Changelog: 0.0.39...0.0.40

0.0.39

17 Apr 17:43
5c6744e
Compare
Choose a tag to compare
  • Fix regression where bots that do not override get_response_with_context() would emit a spurious "hello" response.
  • Allow coroutines as callables for tool calls. Thanks @canwushuang for the contribution.