MCPcopy Create free account
hub / github.com/SKaplanOfficial/Raycast-PromptLab / stopModel

Function stopModel

src/hooks/useModel.ts:205–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203 }, [execute, basePrompt, input, prompt, attempt]);
204
205 const stopModel = () => {
206 AIRef.current?.fetch?.then((response) => {
207 response.body?.emit("close");
208 });
209 AIRef.current = undefined;
210 };
211
212 const res = environment.canAccess(AI)
213 ? {

Callers 1

CommandChatViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected