We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb83eb9 commit 75ce5ddCopy full SHA for 75ce5dd
client/src/hooks/Endpoint/useModels.ts
@@ -17,7 +17,6 @@ export const useModelSelection = () => {
17
const assistantsMapResult = useAssistantsMapContext();
18
const assistantsMap = useMemo(() => assistantsMapResult ?? {}, [assistantsMapResult]);
19
20
- // Create timeout ref internally
21
const timeoutIdRef = useRef<NodeJS.Timeout | undefined>(undefined);
22
23
const setAgentId = useCallback(
@@ -35,7 +34,6 @@ export const useModelSelection = () => {
35
34
[setOption, index, timeoutIdRef],
36
);
37
38
- // Rest of the code remains the same as in your original file
39
const setAssistantId = useCallback(
40
(endpoint: string, assistantId: string) => {
41
const assistant = assistantsMap[endpoint]?.[assistantId];
0 commit comments