Skip to content

Commit

Permalink
chore(test): update some test values (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Feb 13, 2025
1 parent ced279b commit 51aaef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 29
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-5d57be55ac24a66e8c78594a3a964a90f12f98fc51f8c758891ec7fee2b74c9f.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/writerai%2Fwriter-710e8a17bc916b755685592b3831e6732f3ba02904f970084aef0ac86fd79ed5.yml
6 changes: 3 additions & 3 deletions tests/api-resources/chat.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const client = new Writer({

describe('resource chat', () => {
test('chat: only required params', async () => {
const responsePromise = client.chat.chat({ messages: [{ role: 'user' }], model: 'palmyra-x-004' });
const responsePromise = client.chat.chat({ messages: [{ role: 'user' }], model: 'model' });
const rawResponse = await responsePromise.asResponse();
expect(rawResponse).toBeInstanceOf(Response);
const response = await responsePromise;
Expand All @@ -25,7 +25,7 @@ describe('resource chat', () => {
messages: [
{
role: 'user',
content: 'Write a memo summarizing this earnings report.',
content: 'content',
graph_data: {
sources: [{ file_id: 'file_id', snippet: 'snippet' }],
status: 'processing',
Expand All @@ -41,7 +41,7 @@ describe('resource chat', () => {
],
},
],
model: 'palmyra-x-004',
model: 'model',
logprobs: true,
max_tokens: 0,
n: 0,
Expand Down

0 comments on commit 51aaef3

Please sign in to comment.