refactor: migrate to xsai #117
Annotations
7 errors
|
Test:
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
|
Test:
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: '' }
|
Test:
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: '' }
|
Test:
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: '' }
|
Test:
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: '' }
|
Test
The operation was canceled.
|
Loading