fix(ollama): avoid broad provider hooks for local runs

This commit is contained in:
Peter Steinberger
2026-04-29 21:20:41 +01:00
parent f1ec163f77
commit 12ee7f696f
6 changed files with 113 additions and 6 deletions

View File

@@ -656,6 +656,7 @@ async function runModelRun(params: {
const result = await completeWithPreparedSimpleCompletionModel({
model: prepared.model,
auth: prepared.auth,
cfg,
context: {
messages: [
{