Include meta on standard completion #64
test-pr.yml
on: pull_request_target
approve
0s
run-tests
1m 24s
Annotations
2 errors and 1 warning
error: expect(received).toEqual(expected):
tests/anthropic.test.ts#L145
{
+ _meta: {
+ usage: {
+ completion_tokens: 11,
+ prompt_tokens: 123,
+ total_tokens: 134,
+ },
+ },
name: "Dimitri Kennedy",
}
- Expected - 0
+ Received + 7
at /home/runner/work/instructor-js/instructor-js/tests/anthropic.test.ts:145:5
|
run-tests
Process completed with exit code 1.
|
run-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|