Skip to content

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

feat(v2): switch to generated fetch API stub

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

Triggered via pull request December 15, 2023 16:09
@pilartomaspilartomas
synchronize #64
v2
Status Failure
Total duration 55s
Artifacts

node.js.yml

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

Annotations

49 errors
build (20.x): src/index.ts#L5
Cannot find module './constants.js' or its corresponding type declarations.
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.
lint (16.x): src/index.ts#L5
Unable to resolve path to module './constants.js'
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/index.ts#L5
Unable to resolve path to module './constants.js'
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/index.ts#L5
Unable to resolve path to module './constants.js'
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.
test (16.x)
Process completed with exit code 1.
build (18.x)
The job was canceled because "_20_x" failed.
build (18.x): src/index.ts#L5
Cannot find module './constants.js' or its corresponding type declarations.
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/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/prompt-template.ts#L3
Cannot find module '../client/types.js' or its corresponding type declarations.
build (16.x)
The job was canceled because "_20_x" failed.
build (16.x): src/index.ts#L5
Cannot find module './constants.js' or its corresponding type declarations.
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.