MCPcopy Create free account
hub / github.com/Cphayim/ombro / execExtensionTaskQueue

Function execExtensionTaskQueue

packages/cli-chat/src/chat/extensions.ts:16–27  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

14 * 如果执行了某项扩展则返回 true
15 */
16export async function execExtensionTaskQueue(input: string) {
17 const queue = [
18 checkExit, // 检查退出
19 toggleModel, // 切换模型
20 ]
21
22 for (const task of queue) {
23 if (await task(input)) return true
24 }
25
26 return false
27}
28
29/**
30 * 检查退出状态

Callers 1

botAnswerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected