Skip to content

feat(providers): hosted-key support for LLM providers (flag-gated, no rate limiting) #19492

feat(providers): hosted-key support for LLM providers (flag-gated, no rate limiting)

feat(providers): hosted-key support for LLM providers (flag-gated, no rate limiting) #19492

Triggered via pull request June 18, 2026 01:58
Status Failure
Total duration 1m 54s
Artifacts

ci.yml

on: pull_request
Detect Version
0s
Detect Version
Test and Build  /  Test and Build
1m 44s
Test and Build / Test and Build
Migrate Dev DB  /  Apply Database Migrations
Migrate Dev DB / Apply Database Migrations
Check Docs Changes
0s
Check Docs Changes
Matrix: Build ARM64 (GHCR Only)
Migrate DB  /  Apply Database Migrations
Migrate DB / Apply Database Migrations
Matrix: Build Dev ECR
Matrix: Build AMD64
Matrix: Create GHCR Manifests
Process Docs  /  Process Documentation Embeddings
Process Docs / Process Documentation Embeddings
Create GitHub Release
Create GitHub Release
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 9 warnings
providers/ollama/index.test.ts > ollamaProvider.executeRequest > streams the final response after a tool loop, carrying tool calls: apps/sim/providers/ollama/core.ts#L619
ProviderError: [vitest] No "isCachedInput" export is defined on the "@/providers/utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: ❯ executeOllamaProviderRequest providers/ollama/core.ts:619:11 ❯ providers/ollama/index.test.ts:363:21 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { timing: { startTime: '2026-06-18T01:59:57.539Z', endTime: '2026-06-18T01:59:57.539Z', duration: +0 } }
providers/ollama/index.test.ts > ollamaProvider.executeRequest > strips ```json fences from streamed content when responseFormat is set: apps/sim/providers/ollama/core.ts#L619
ProviderError: [vitest] No "isCachedInput" export is defined on the "@/providers/utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: ❯ executeOllamaProviderRequest providers/ollama/core.ts:619:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { timing: { startTime: '2026-06-18T01:59:57.538Z', endTime: '2026-06-18T01:59:57.538Z', duration: +0 } }
providers/ollama/index.test.ts > ollamaProvider.executeRequest > streams content and usage when no tools are used: apps/sim/providers/ollama/core.ts#L619
ProviderError: [vitest] No "isCachedInput" export is defined on the "@/providers/utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: ❯ executeOllamaProviderRequest providers/ollama/core.ts:619:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { timing: { startTime: '2026-06-18T01:59:57.536Z', endTime: '2026-06-18T01:59:57.536Z', duration: +0 } }
providers/litellm/index.test.ts: apps/sim/lib/core/config/env-flags.ts#L25
Error: [vitest] No "getEnv" export is defined on the "@/lib/core/config/env" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@/lib/core/config/env"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ lib/core/config/env-flags.ts:25:16 ❯ providers/streaming-execution.ts:1:1
providers/fireworks/index.test.ts > fireworksProvider > forces tool_choice 'none' on the final streaming call after tools run: apps/sim/providers/fireworks/index.ts#L597
ProviderError: [vitest] No "isCachedInput" export is defined on the "@/providers/utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: ❯ Object.executeRequest providers/fireworks/index.ts:597:13 ❯ providers/fireworks/index.test.ts:227:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { timing: { startTime: '2026-06-18T02:00:06.648Z', endTime: '2026-06-18T02:00:06.648Z', duration: +0 } }
providers/fireworks/index.test.ts > fireworksProvider > streams directly when there are no tools: apps/sim/providers/fireworks/index.ts#L597
ProviderError: [vitest] No "isCachedInput" export is defined on the "@/providers/utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: ❯ Object.executeRequest providers/fireworks/index.ts:597:13 ❯ providers/fireworks/index.test.ts:142:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { timing: { startTime: '2026-06-18T02:00:06.643Z', endTime: '2026-06-18T02:00:06.643Z', duration: +0 } }
providers/baseten/index.test.ts > basetenProvider > forces tool_choice 'none' on the final streaming call after tools run: apps/sim/providers/baseten/index.ts#L597
ProviderError: [vitest] No "isCachedInput" export is defined on the "@/providers/utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: ❯ Object.executeRequest providers/baseten/index.ts:597:13 ❯ providers/baseten/index.test.ts:233:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { timing: { startTime: '2026-06-18T02:00:06.054Z', endTime: '2026-06-18T02:00:06.054Z', duration: +0 } }
providers/baseten/index.test.ts > basetenProvider > streams directly when there are no tools: apps/sim/providers/baseten/index.ts#L597
ProviderError: [vitest] No "isCachedInput" export is defined on the "@/providers/utils" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: ❯ Object.executeRequest providers/baseten/index.ts:597:13 ❯ providers/baseten/index.test.ts:148:20 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { timing: { startTime: '2026-06-18T02:00:06.048Z', endTime: '2026-06-18T02:00:06.048Z', duration: +0 } }
providers/azure-openai/index.test.ts: apps/sim/lib/core/config/env-flags.ts#L25
Error: [vitest] No "getEnv" export is defined on the "@/lib/core/config/env" mock. Did you forget to return it from "vi.mock"? If you need to partially mock a module, you can use "importOriginal" helper inside: vi.mock(import("@/lib/core/config/env"), async (importOriginal) => { const actual = await importOriginal() return { ...actual, // your mocked methods } }) ❯ lib/core/config/env-flags.ts:25:16 ❯ providers/streaming-execution.ts:1:1
Test and Build / Test and Build
sim#test: command (/home/runner/_work/sim/sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
Test and Build / Test and Build
Process completed with exit code 1.
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
Test and Build / Test and Build
- Step: unknown (failed)
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
Test and Build / Test and Build
- Step: unknown (failed)
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps
Test and Build / Test and Build
Skipping sticky disk commit due to previous step failures
Test and Build / Test and Build
- Step: unknown (failed)
Test and Build / Test and Build
Found 2 failed/cancelled steps in previous workflow steps