selectToolBatch (utils/toolBatching.ts)

Mysti · src/utils/toolBatching.ts · typescript · Apache-2.0
ai, tag:embed-classified

* Mysti - AI Coding Agent Copyright (c) 2025 DeepMyst Inc. All rights reserved. Author: Baha Abunojaim <baha@deepmyst.com> Website: https://www.deepmyst.com/mysti This file is part of Mysti, licensed under the Apache License, Version 2.0.

// Source: https://github.com/DeepMyst/Mysti | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Mysti - AI Coding Agent
 * Copyright (c) 2025 DeepMyst Inc. All rights reserved.
 *
 * Author: Baha Abunojaim <baha@deepmyst.com>
 * Website: https://www.deepmyst.com/mysti
 *
 * This file is part of Mysti, licensed under the Apache License, Version 2.0.
 * See the LICENSE file in the project root for full license terms.
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Plan 24 Phase 3 — how much of a native tool-call batch may run at once.
 *
 * A capable model emits several `tool_calls` in one turn. The coordinator can
 * only run a batch in parallel when every call in it is a read-

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key