From 5d6abe46a0ccf3d12c186d5a64f01b95f5d45478 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 26 Jul 2026 10:14:45 +0200 Subject: [PATCH] Update @openrouter/ai-sdk-provider and ai --- apps/api/src/services/fetch/fetch.service.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/api/src/services/fetch/fetch.service.ts b/apps/api/src/services/fetch/fetch.service.ts index 4596350ca8..1f53203785 100644 --- a/apps/api/src/services/fetch/fetch.service.ts +++ b/apps/api/src/services/fetch/fetch.service.ts @@ -118,9 +118,9 @@ export class FetchService implements OnModuleInit { ].join('\n'), timeout: FetchService.WEB_FETCH_TIMEOUT, tools: { - // Provider-defined tool: lets OpenRouter perform the actual web + // Provider-executed tool: lets OpenRouter perform the actual web // request server-side via its `web_fetch` engine. `id` and `args` - // are the OpenRouter-specific identifiers; the input schema is left + // are the OpenRouter-specific identifiers. The input schema is left // open as the arguments are supplied by the model. web_fetch: tool({ args: { engine: 'openrouter' }, @@ -129,6 +129,7 @@ export class FetchService implements OnModuleInit { additionalProperties: true, type: 'object' }), + isProviderExecuted: true, type: 'provider' }) }