AI bridge #129
main.yml
on: pull_request
runs typescript and tests
15s
Publish to NPM
0s
Annotations
6 errors and 2 warnings
src/LangtailNode.spec.ts:
src/LangtailNode.ts#L63
Error: apiKey is required. You can pass it as an option or set the LANGTAIL_API_KEY environment variable.
❯ new LangtailNode src/LangtailNode.ts:63:13
❯ src/LangtailNode.spec.ts:7:12
|
src/LangtailPrompts.spec.ts > LangtailPrompts > invoke > should support a simple prompt with variables:
src/LangtailPrompts.ts#L147
Error: Failed to fetch prompt: 401 {"error":{"message":"Missing Langtail API key"}}
❯ LangtailPrompts.invoke src/LangtailPrompts.ts:147:13
❯ src/LangtailPrompts.spec.ts:63:28
|
src/LangtailPrompts.spec.ts > LangtailPrompts > invoke > should make a single request with variables using the project-prompt path:
src/LangtailPrompts.ts#L147
Error: Failed to fetch prompt: 401 {"error":{"message":"Missing Langtail API key"}}
❯ LangtailPrompts.invoke src/LangtailPrompts.ts:147:13
❯ src/LangtailPrompts.spec.ts:79:28
|
src/LangtailPrompts.spec.ts > LangtailPrompts > invoke > should support streaming:
src/LangtailPrompts.ts#L147
Error: Failed to fetch prompt: 401 {"error":{"message":"Missing Langtail API key"}}
❯ LangtailPrompts.invoke src/LangtailPrompts.ts:147:13
❯ src/LangtailPrompts.spec.ts:95:33
|
src/LangtailPrompts.spec.ts > LangtailPrompts > build > should return the openAI body user can use with openai client:
src/LangtailPrompts.ts#L195
Error: Failed to fetch prompt config payload: 401 {"error":{"message":"Missing Langtail API key"}}
❯ LangtailPrompts.get src/LangtailPrompts.ts:195:13
❯ src/LangtailPrompts.spec.ts:163:33
|
runs typescript and tests
Process completed with exit code 1.
|
runs typescript and tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
runs typescript and tests
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|