@icanbwell/baileyai-chat-ui 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -224,8 +224,8 @@ export declare interface BaileyChatPanelProps extends BaileyMarkdownRenderers {
224
224
  /** Thumbs up/down feedback on completed assistant messages. On by default whenever `chat` was
225
225
  * created with a `client` (`chat.feedback`), a conversation id is held, and the message has a `serverMessageId`; the
226
226
  * buttons render before `renderMessageActions`. Pass `false` to turn it off (e.g. when the
227
- * host renders its own `BaileyFeedbackButtons`, or on a 503 from the feedback API), or an
228
- * object to tune the reason chips, comment limit or labels. */
227
+ * host renders its own `BaileyFeedbackButtons`), or an object to tune the reason chips, comment
228
+ * limit or labels. The buttons hide for the session on a 503 or 405 from the feedback API. */
229
229
  feedback?: false | Pick<BaileyFeedbackButtonsProps, 'reasonOptions' | 'maxCommentLength' | 'labels'>;
230
230
  /** Overrides individual UI strings for localization — merged shallowly with English
231
231
  * defaults, so a host only needs to supply the keys its i18n system actually translates.
@@ -1200,8 +1200,8 @@ export declare interface UseBaileyChatResult {
1200
1200
  /** Feedback handlers bound to `client` and the held conversation id; present only when the hook
1201
1201
  * was given a `client`. `BaileyChatPanel` uses them to show thumbs up/down on assistant
1202
1202
  * messages by default. Becomes undefined once the feedback API answers 503 (disabled for the
1203
- * environment), until `client` changes. Optional in the type so hosts that construct their own
1204
- * result objects still compile. */
1203
+ * environment) or 405 (route does not accept the method), until `client` changes. Optional in
1204
+ * the type so hosts that construct their own result objects still compile. */
1205
1205
  feedback?: BaileyFeedbackHandlers;
1206
1206
  }
1207
1207
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/baileyai-chat-ui",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Shared React chat UI and streaming logic for Bailey, the icanbwell AI assistant",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {