Skip to content

Commit 75ce5dd

Browse files
committed
refactor: remove unnecessary comments
1 parent bb83eb9 commit 75ce5dd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

client/src/hooks/Endpoint/useModels.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export const useModelSelection = () => {
1717
const assistantsMapResult = useAssistantsMapContext();
1818
const assistantsMap = useMemo(() => assistantsMapResult ?? {}, [assistantsMapResult]);
1919

20-
// Create timeout ref internally
2120
const timeoutIdRef = useRef<NodeJS.Timeout | undefined>(undefined);
2221

2322
const setAgentId = useCallback(
@@ -35,7 +34,6 @@ export const useModelSelection = () => {
3534
[setOption, index, timeoutIdRef],
3635
);
3736

38-
// Rest of the code remains the same as in your original file
3937
const setAssistantId = useCallback(
4038
(endpoint: string, assistantId: string) => {
4139
const assistant = assistantsMap[endpoint]?.[assistantId];

0 commit comments

Comments
 (0)