Fix compilation error #30
Annotations
6 errors
src/chains/prompt-with-pick.spec.ts > Prompt with Pick > should pick best prompt:
src/chains/prompt-with-retry.ts#L38
Error: Max retries reached. Last error: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"color"
],
"message": "Required"
}
], thread id: thread_LqfylGXZLMdhg3CV0QHaUkAy
❯ promptWithRetry src/chains/prompt-with-retry.ts:38:10
❯ Module.promptWithPickAll src/chains/prompt-with-pick.ts:74:36
❯ src/chains/prompt-with-pick.spec.ts:22:19
|
src/chains/prompt-with-pick.spec.ts > Prompt with Pick > should pick best prompt:
src/chains/prompt-with-retry.ts#L38
Error: Max retries reached. Last error: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"color"
],
"message": "Required"
}
], thread id: thread_ILchS44WcBg7OzryJA0fvnhR
❯ promptWithRetry src/chains/prompt-with-retry.ts:38:10
❯ Module.promptWithPickAll src/chains/prompt-with-pick.ts:74:36
❯ src/chains/prompt-with-pick.spec.ts:22:19
|
src/chains/prompt-with-pick.spec.ts > Prompt with Pick > should pick best prompt:
src/chains/prompt-with-retry.ts#L38
Error: Max retries reached. Last error: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"color"
],
"message": "Required"
}
], thread id: thread_lbvOozxvdxrTBhXYwDtJH5DU
❯ promptWithRetry src/chains/prompt-with-retry.ts:38:10
❯ Module.promptWithPickAll src/chains/prompt-with-pick.ts:74:36
❯ src/chains/prompt-with-pick.spec.ts:22:19
|
src/completions/completion-with-functions.spec.ts > Completion with Functions > should run completion with functions:
src/completions/completion-with-functions.spec.ts#L29
AssertionError: expected 'The response from the test function `…' to deeply equal 'hello 123'
- Expected
+ Received
- hello 123
+ The response from the test function `foo` is: "hello 123".
❯ src/completions/completion-with-functions.spec.ts:29:24
|
src/completions/completion-with-json.spec.ts > Completion with JSON response > should run completion with JSON response:
src/completions/completion-with-json.spec.ts#L31
AssertionError: expected undefined to deeply equal 'hello 123'
- Expected:
"hello 123"
+ Received:
undefined
❯ src/completions/completion-with-json.spec.ts:31:28
|
build (20.x)
Process completed with exit code 1.
|