@usecrow/ui 0.1.28 → 0.1.29
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -93,7 +93,7 @@ function useChat({
|
|
|
93
93
|
const [isLoading, setIsLoading] = React3.useState(false);
|
|
94
94
|
const [activeToolCalls, setActiveToolCalls] = React3.useState([]);
|
|
95
95
|
const [conversationId, setConversationId] = React3.useState(null);
|
|
96
|
-
const [selectedModel, setSelectedModel] = React3.useState(initialSelectedModel
|
|
96
|
+
const [selectedModel, setSelectedModel] = React3.useState(initialSelectedModel);
|
|
97
97
|
const abortControllerRef = React3.useRef(null);
|
|
98
98
|
const hasCheckedPersistRef = React3.useRef(false);
|
|
99
99
|
const streamingToolCallsRef = React3.useRef([]);
|
|
@@ -2866,7 +2866,7 @@ function CrowWidget({
|
|
|
2866
2866
|
});
|
|
2867
2867
|
const agentName = agentNameProp ?? agentNameFromAPI;
|
|
2868
2868
|
const welcomeMessage = welcomeMessageProp ?? welcomeMessageFromAPI;
|
|
2869
|
-
const selectedModel = selectedModelFromAPI
|
|
2869
|
+
const selectedModel = selectedModelFromAPI;
|
|
2870
2870
|
const showThinking = showThinkingProp ?? showThinkingFromAPI;
|
|
2871
2871
|
const [autoTools, setAutoTools] = React3.useState({});
|
|
2872
2872
|
const cssVars = stylesToCssVars(styles);
|