Skip to content

refactor: migrate to xsai #117

refactor: migrate to xsai

refactor: migrate to xsai #117

Triggered via pull request December 14, 2024 15:20
Status Failure
Total duration 38s
Artifacts

ci.yaml

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

Annotations

12 errors and 5 warnings
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:37: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/index.test.ts > neuri > should work: packages/neuri/src/index.test.ts#L39
AssertionError: expected 'My name is Assistant. How can I assis…' to include 'Neuri' ❯ src/index.test.ts:39:18
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:37: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
The operation was canceled.
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
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
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