Skip to content

Commit

Permalink
update agent recoding to use new model as 3.5 is no longer supported
Browse files Browse the repository at this point in the history
  • Loading branch information
abeatrix committed Sep 13, 2024
1 parent be45fbf commit 0ec4b33
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 109 deletions.
215 changes: 107 additions & 108 deletions agent/recordings/defaultClient_631904893/recording.har.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion agent/src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,9 @@ describe('Agent', () => {
]
const id = await client.request('chat/new', null)
{
await client.request('chat/setModel', { id, model: 'openai/gpt-3.5-turbo' })
await client.request('chat/setModel', { id, model: 'google/gemini-1.5-flash' })
const lastMessage = await client.sendMessage(id, 'what color is the sky?')
console.log(lastMessage, 'lastMessage')
expect(lastMessage?.text?.toLocaleLowerCase().includes('blue')).toBeTruthy()
}
}, 30_000)
Expand Down

0 comments on commit 0ec4b33

Please sign in to comment.