Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jsumners-nr committed Feb 15, 2024
1 parent d160ade commit a0cbd8e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/llm/event.tap.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ tap.beforeEach((t) => {
get(key) {
t.equal(key, TRANS_SCOPE)
return {
['llm.conversation_id']: 'conversation-1'
['llm.conversation_id']: 'conversation-1',
omit: 'me'
}
}
}
Expand Down Expand Up @@ -67,6 +68,8 @@ tap.test('create creates a new instance', async (t) => {
t.equal(event['response.model'], 'model-1')
t.equal(event['request.model'], 'model-1')
t.equal(event['request.max_tokens'], null)
t.equal(event['llm.conversation_id'], 'conversation-1')
t.equal(event.omit, undefined)
})

tap.test('serializes the event', (t) => {
Expand Down

0 comments on commit a0cbd8e

Please sign in to comment.