cogito-client 1.0.62 → 1.0.64
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 +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -190,6 +190,11 @@ export declare interface CogitoCodeSurface {
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
export declare interface CogitoConfig {
|
|
193
|
+
error?: {
|
|
194
|
+
reason?: string;
|
|
195
|
+
message?: string;
|
|
196
|
+
[k: string]: unknown;
|
|
197
|
+
};
|
|
193
198
|
stt?: {
|
|
194
199
|
model?: string;
|
|
195
200
|
language?: string;
|
|
@@ -534,6 +539,7 @@ export declare interface CogitoMessagePayload {
|
|
|
534
539
|
|
|
535
540
|
export declare interface CogitoMessageWebhook {
|
|
536
541
|
type?: "message";
|
|
542
|
+
mode?: string;
|
|
537
543
|
role: string;
|
|
538
544
|
conversationId?: string;
|
|
539
545
|
content: string;
|