feat(hosted-key-services) Add hosted key for multiple services #11199
ci.yml
on: pull_request
Detect Version
0s
Test and Build
/
Test and Build
1m 8s
Check Docs Changes
0s
Matrix: Build AMD64
Matrix: Build ARM64 (GHCR Only)
Process Docs
/
Process Documentation Embeddings
Matrix: Create GHCR Manifests
Create GitHub Release
Annotations
10 errors and 6 warnings
|
Test and Build / Test and Build
Process completed with exit code 1.
|
|
providers/utils.test.ts > getApiKey > should return empty or user-provided key for vllm provider without requiring API key:
apps/sim/providers/utils.test.ts#L164
TypeError: (0 , getApiKey) is not a function
❯ providers/utils.test.ts:164:19
|
|
providers/utils.test.ts > getApiKey > should return empty for ollama provider without requiring API key:
apps/sim/providers/utils.test.ts#L152
TypeError: (0 , getApiKey) is not a function
❯ providers/utils.test.ts:152:17
|
|
providers/utils.test.ts > getApiKey > should require user key for models NOT in hosted list even if provider matches:
apps/sim/providers/utils.test.ts#L133
TypeError: (0 , getApiKey) is not a function
❯ providers/utils.test.ts:133:20
|
|
providers/utils.test.ts > getApiKey > should require user key for non-OpenAI/Anthropic providers even in hosted environment:
apps/sim/providers/utils.test.ts#L119
TypeError: (0 , getApiKey) is not a function
❯ providers/utils.test.ts:119:19
|
|
providers/utils.test.ts > getApiKey > should throw error in hosted environment if rotation fails and no user key:
apps/sim/providers/utils.test.ts#L110
AssertionError: expected [Function] to throw error including 'No API key available for openai gpt-4o' but got '(0 , getApiKey)…'
Expected: "No API key available for openai gpt-4o"
Received: "(0 , __vite_ssr_import_2__.getApiKey) is not a function"
❯ providers/utils.test.ts:110:51
|
|
providers/utils.test.ts > getApiKey > should fall back to user key in hosted environment if rotation fails:
apps/sim/providers/utils.test.ts#L97
TypeError: (0 , getApiKey) is not a function
❯ providers/utils.test.ts:97:17
|
|
providers/utils.test.ts > getApiKey > should throw error if no key provided in non-hosted environment:
apps/sim/providers/utils.test.ts#L84
AssertionError: expected [Function] to throw error including 'API key is required for openai gpt-4' but got '(0 , getApiKey)…'
Expected: "API key is required for openai gpt-4"
Received: "(0 , __vite_ssr_import_2__.getApiKey) is not a function"
❯ providers/utils.test.ts:84:48
|
|
providers/utils.test.ts > getApiKey > should return user-provided key when not in hosted environment:
apps/sim/providers/utils.test.ts#L71
TypeError: (0 , getApiKey) is not a function
❯ providers/utils.test.ts:71:18
|
|
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
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
|