@particle-academy/prism-harness 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
package/dist/runtime.js
CHANGED
|
@@ -149,7 +149,7 @@ export class AgentRuntime {
|
|
|
149
149
|
});
|
|
150
150
|
try {
|
|
151
151
|
let offered;
|
|
152
|
-
if (session.agent === null) {
|
|
152
|
+
if (session.agent === null && !this.#narrowRequestedTools) {
|
|
153
153
|
const resolved = await this.#tools.resolve(toolNames ?? mode.tools, session);
|
|
154
154
|
offered = this.#authorizer ? await this.#authorizer.allowed(session, resolved) : [...resolved.values()];
|
|
155
155
|
}
|