Skip to content

feat(v2): switch to generated fetch API stub #222

feat(v2): switch to generated fetch API stub

feat(v2): switch to generated fetch API stub #222

Triggered via pull request November 27, 2023 15:15
@pilartomaspilartomas
synchronize #64
v2
Status Failure
Total duration 49s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

45 errors
test (16.x)
Process completed with exit code 1.
build (18.x): src/langchain/llm.ts#L13
Cannot find module '../client/types.js' or its corresponding type declarations.
build (18.x): src/langchain/llm.ts#L14
Cannot find module '../client/types.js' or its corresponding type declarations.
build (18.x): src/langchain/llm.ts#L86
Property 'generate' does not exist on type 'Client'.
build (18.x): src/langchain/llm.ts#L140
Property 'generate' does not exist on type 'Client'.
build (18.x): src/langchain/llm.ts#L173
Property 'tokenize' does not exist on type 'Client'.
build (18.x): src/langchain/llm-chat.ts#L11
Cannot find module '../client/types.js' or its corresponding type declarations.
build (18.x): src/langchain/llm-chat.ts#L59
Type '{ retries: any; apiKey?: string | undefined; endpoint?: string | undefined; headers?: RawHeaders | undefined; }' is not assignable to type 'Configuration'.
build (18.x): src/langchain/llm-chat.ts#L59
Property 'retries' does not exist on type 'Configuration'.
build (18.x): src/langchain/prompt-template.ts#L3
Cannot find module '../client/types.js' or its corresponding type declarations.
build (18.x)
Process completed with exit code 1.
build (20.x): src/langchain/llm.ts#L13
Cannot find module '../client/types.js' or its corresponding type declarations.
build (20.x): src/langchain/llm.ts#L14
Cannot find module '../client/types.js' or its corresponding type declarations.
build (20.x): src/langchain/llm.ts#L86
Property 'generate' does not exist on type 'Client'.
build (20.x): src/langchain/llm.ts#L140
Property 'generate' does not exist on type 'Client'.
build (20.x): src/langchain/llm.ts#L173
Property 'tokenize' does not exist on type 'Client'.
build (20.x): src/langchain/llm-chat.ts#L11
Cannot find module '../client/types.js' or its corresponding type declarations.
build (20.x): src/langchain/llm-chat.ts#L59
Type '{ retries: any; apiKey?: string | undefined; endpoint?: string | undefined; headers?: RawHeaders | undefined; }' is not assignable to type 'Configuration'.
build (20.x): src/langchain/llm-chat.ts#L59
Property 'retries' does not exist on type 'Configuration'.
build (20.x): src/langchain/prompt-template.ts#L3
Cannot find module '../client/types.js' or its corresponding type declarations.
build (20.x)
Process completed with exit code 1.
build (16.x)
The job was canceled because "_18_x" failed.
build (16.x): src/langchain/llm.ts#L13
Cannot find module '../client/types.js' or its corresponding type declarations.
build (16.x): src/langchain/llm.ts#L14
Cannot find module '../client/types.js' or its corresponding type declarations.
build (16.x): src/langchain/llm.ts#L86
Property 'generate' does not exist on type 'Client'.
build (16.x): src/langchain/llm.ts#L140
Property 'generate' does not exist on type 'Client'.
build (16.x): src/langchain/llm.ts#L173
Property 'tokenize' does not exist on type 'Client'.
build (16.x): src/langchain/llm-chat.ts#L11
Cannot find module '../client/types.js' or its corresponding type declarations.
build (16.x): src/langchain/llm-chat.ts#L59
Type '{ retries: any; apiKey?: string | undefined; endpoint?: string | undefined; headers?: RawHeaders | undefined; }' is not assignable to type 'Configuration'.
build (16.x): src/langchain/llm-chat.ts#L59
Property 'retries' does not exist on type 'Configuration'.
build (16.x): src/langchain/prompt-template.ts#L3
Cannot find module '../client/types.js' or its corresponding type declarations.
build (16.x)
Process completed with exit code 1.
lint (16.x): src/langchain/llm-chat.ts#L11
Unable to resolve path to module '../client/types.js'
lint (16.x): src/langchain/llm.ts#L14
Unable to resolve path to module '../client/types.js'
lint (16.x): src/tests/e2e/client.test.ts#L5
Unable to resolve path to module '../../client/types.js'
lint (16.x)
Process completed with exit code 1.
lint (18.x): src/langchain/llm-chat.ts#L11
Unable to resolve path to module '../client/types.js'
lint (18.x): src/langchain/llm.ts#L14
Unable to resolve path to module '../client/types.js'
lint (18.x): src/tests/e2e/client.test.ts#L5
Unable to resolve path to module '../../client/types.js'
lint (18.x)
Process completed with exit code 1.
lint (20.x)
The job was canceled because "_16_x" failed.
lint (20.x): src/langchain/llm-chat.ts#L11
Unable to resolve path to module '../client/types.js'
lint (20.x): src/langchain/llm.ts#L14
Unable to resolve path to module '../client/types.js'
lint (20.x): src/tests/e2e/client.test.ts#L5
Unable to resolve path to module '../../client/types.js'
lint (20.x)
Process completed with exit code 1.