@yourgpt/copilot-sdk 1.2.3 → 1.2.4
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/{chunk-XPV4Y2CT.js → chunk-CVZ7LT5B.js} +3 -6
- package/dist/chunk-CVZ7LT5B.js.map +1 -0
- package/dist/{chunk-2IPWAEIC.cjs → chunk-RMVUGFSK.cjs} +3 -6
- package/dist/chunk-RMVUGFSK.cjs.map +1 -0
- package/dist/react/index.cjs +37 -37
- package/dist/react/index.js +1 -1
- package/dist/ui/index.cjs +4 -4
- package/dist/ui/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2IPWAEIC.cjs.map +0 -1
- package/dist/chunk-XPV4Y2CT.js.map +0 -1
|
@@ -132,10 +132,7 @@ function requiresToolExecution(chunk) {
|
|
|
132
132
|
function processStreamChunk(chunk, state) {
|
|
133
133
|
switch (chunk.type) {
|
|
134
134
|
case "message:start":
|
|
135
|
-
return
|
|
136
|
-
...state,
|
|
137
|
-
messageId: chunk.id
|
|
138
|
-
};
|
|
135
|
+
return state;
|
|
139
136
|
case "message:delta":
|
|
140
137
|
return {
|
|
141
138
|
...state,
|
|
@@ -3605,5 +3602,5 @@ function useChat(config) {
|
|
|
3605
3602
|
}
|
|
3606
3603
|
|
|
3607
3604
|
export { AbstractAgentLoop, AbstractChat, CopilotProvider, ReactChat, ReactChatState, ReactThreadManager, ReactThreadManagerState, createPermissionStorage, createReactChat, createReactChatState, createReactThreadManager, createReactThreadManagerState, createSessionPermissionCache, formatKnowledgeResultsForAI, initialAgentLoopState, searchKnowledgeBase, useAIAction, useAIActions, useAIContext, useAIContexts, useAITools, useAgent, useCapabilities, useChat, useCopilot, useDevLogger, useFeatureSupport, useKnowledgeBase, useSuggestions, useSupportedMediaTypes, useThreadManager, useTool, useToolExecutor, useToolWithSchema, useTools, useToolsWithSchema };
|
|
3608
|
-
//# sourceMappingURL=chunk-
|
|
3609
|
-
//# sourceMappingURL=chunk-
|
|
3605
|
+
//# sourceMappingURL=chunk-CVZ7LT5B.js.map
|
|
3606
|
+
//# sourceMappingURL=chunk-CVZ7LT5B.js.map
|