Skip to content

refactor: migrate to xsai #118

refactor: migrate to xsai

refactor: migrate to xsai #118

Triggered via pull request December 14, 2024 15:58
Status Cancelled
Total duration 37s
Artifacts

ci.yaml

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

Annotations

17 errors and 5 warnings
Lint - 22.x: packages/neuri/src/openai-xsai/agent.test.ts#L12
Unexpected console statement
Lint - 22.x: packages/neuri/src/openai-xsai/agent.test.ts#L13
Unexpected console statement
Lint - 22.x
Process completed with exit code 1.
Lint - 20.x: packages/neuri/src/openai-xsai/agent.test.ts#L12
Unexpected console statement
Lint - 20.x: packages/neuri/src/openai-xsai/agent.test.ts#L13
Unexpected console statement
Lint - 20.x
Process completed with exit code 1.
src/openai-xsai/agent.test.ts > openai-xsai/agent > should execute call: packages/neuri/src/openai-xsai/agent.ts#L16
TypeError: Invalid URL ❯ chatCompletion ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/shared-chat-completion/dist/index.js:3:85 ❯ Proxy.generateText ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/generate-text/dist/index.js:3:47 ❯ call src/openai-xsai/agent.ts:16:18 ❯ src/openai-xsai/agent.test.ts:39:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: 'chat/completions', base: '' }
src/openai-xsai/generate.test.ts > generate > should generate text: packages/neuri/src/openai-xsai/generate.ts#L19
TypeError: Invalid URL ❯ chatCompletion ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/shared-chat-completion/dist/index.js:3:85 ❯ Proxy.generateText ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/generate-text/dist/index.js:3:47 ❯ Module.generate src/openai-xsai/generate.ts:19:10 ❯ src/openai-xsai/generate.test.ts:20:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: 'chat/completions', base: '' }
src/openai-xsai/stream.test.ts > stream > should stream textStream: packages/neuri/src/openai-xsai/stream.ts#L19
TypeError: Invalid URL ❯ chatCompletion ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/shared-chat-completion/dist/index.js:3:85 ❯ Proxy.streamText ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/stream-text/dist/index.js:5:45 ❯ Module.stream src/openai-xsai/stream.ts:19:10 ❯ src/openai-xsai/stream.test.ts:19:34 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: 'chat/completions', base: '' }
src/openai-xsai/stream.test.ts > stream > should stream chunkStream: packages/neuri/src/openai-xsai/stream.ts#L19
TypeError: Invalid URL ❯ chatCompletion ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/shared-chat-completion/dist/index.js:3:85 ❯ Proxy.streamText ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/stream-text/dist/index.js:5:45 ❯ Module.stream src/openai-xsai/stream.ts:19:10 ❯ src/openai-xsai/stream.test.ts:52:35 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: 'chat/completions', base: '' }
Unit tests - 20.x
Process completed with exit code 1.
Unit tests - 22.x
The job was canceled because "_20_x" failed.
src/openai-xsai/agent.test.ts > openai-xsai/agent > should execute call: packages/neuri/src/openai-xsai/agent.ts#L16
TypeError: Invalid URL ❯ chatCompletion ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/shared-chat-completion/dist/index.js:3:85 ❯ Proxy.generateText ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/generate-text/dist/index.js:3:47 ❯ call src/openai-xsai/agent.ts:16:18 ❯ src/openai-xsai/agent.test.ts:39:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: 'chat/completions', base: '' }
src/openai-xsai/generate.test.ts > generate > should generate text: packages/neuri/src/openai-xsai/generate.ts#L19
TypeError: Invalid URL ❯ chatCompletion ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/shared-chat-completion/dist/index.js:3:85 ❯ Proxy.generateText ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/generate-text/dist/index.js:3:47 ❯ Module.generate src/openai-xsai/generate.ts:19:10 ❯ src/openai-xsai/generate.test.ts:20:23 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: 'chat/completions', base: '' }
src/openai-xsai/stream.test.ts > stream > should stream textStream: packages/neuri/src/openai-xsai/stream.ts#L19
TypeError: Invalid URL ❯ chatCompletion ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/shared-chat-completion/dist/index.js:3:85 ❯ Proxy.streamText ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/stream-text/dist/index.js:5:45 ❯ Module.stream src/openai-xsai/stream.ts:19:10 ❯ src/openai-xsai/stream.test.ts:19:34 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: 'chat/completions', base: '' }
src/openai-xsai/stream.test.ts > stream > should stream chunkStream: packages/neuri/src/openai-xsai/stream.ts#L19
TypeError: Invalid URL ❯ chatCompletion ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/shared-chat-completion/dist/index.js:3:85 ❯ Proxy.streamText ../../node_modules/.pnpm/@xsai[email protected]/node_modules/@xsai/stream-text/dist/index.js:5:45 ❯ Module.stream src/openai-xsai/stream.ts:19:10 ❯ src/openai-xsai/stream.test.ts:52:35 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_INVALID_URL', input: 'chat/completions', base: '' }
Unit tests - 22.x
Process completed with exit code 1.
Lint - 22.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint - 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Packages Build Test - 22.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests - 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Packages Build Test - 20.x
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636