remove needless assistant:true param from assistant call #307
Annotations
3 errors and 2 warnings
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
|
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
|
|
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/
|
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/
|
This job failed
Loading