@waniwani/sdk 0.4.9-beta.8 → 0.4.9-beta.9
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/chat/index.d.ts +5 -1
- package/dist/chat/index.js +3 -3
- package/dist/chat/index.js.map +1 -1
- package/dist/chat/styles.css +1 -1
- package/package.json +1 -1
package/dist/chat/index.d.ts
CHANGED
|
@@ -148,9 +148,13 @@ type ChatWidgetProps = ChatBarProps;
|
|
|
148
148
|
declare const ChatBar: react.ForwardRefExoticComponent<ChatBarProps & react.RefAttributes<ChatHandle>>;
|
|
149
149
|
|
|
150
150
|
type EvalPanelProps = {
|
|
151
|
+
/** API endpoint to fetch sessions from
|
|
152
|
+
*
|
|
153
|
+
* @default "/api/waniwani"
|
|
154
|
+
*/
|
|
151
155
|
api?: string;
|
|
152
156
|
/** Ref to the ChatCard or ChatBar so eval turns flow through the chat UI */
|
|
153
|
-
chatRef
|
|
157
|
+
chatRef: RefObject<ChatHandle | null>;
|
|
154
158
|
};
|
|
155
159
|
/**
|
|
156
160
|
* Dev-only evaluation panel for replaying recorded sessions and asserting tool usage.
|