remove needless assistant:true param from assistant call #308
Annotations
3 errors and 2 warnings
run tests:
src/LangtailAssistants.spec.ts#L44
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
Array [
- ObjectContaining {
- "assistant": true,
+ Object {
"prompt": "test-assistant",
},
]
Number of calls: 1
❯ src/LangtailAssistants.spec.ts:44:34
|
run tests:
src/LangtailAssistants.spec.ts#L93
AssertionError: expected "spy" to be called with arguments: [ { assistant: true, …(2) } ]
Received:
1st spy call:
Array [
Object {
- "assistant": true,
"messages": Array [
Object {
"content": "You are a helpful assistant.",
"role": "system",
},
Object {
"content": "Hello, how are you?",
"role": "user",
},
],
"prompt": "test-assistant",
},
]
Number of calls: 1
❯ src/LangtailAssistants.spec.ts:93:34
|
run tests
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Get pnpm store directory
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading