Skip to content

Commit

Permalink
chore: rebuild project due to codegen change (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 18, 2024
1 parent 9a22d20 commit e2711d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion tests/api-resources/audio/transcriptions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('resource transcriptions', () => {
prompt: 'prompt',
response_format: 'json',
temperature: 0,
timestamp_granularities: ['word', 'segment'],
timestamp_granularities: ['word'],
});
});
});
14 changes: 1 addition & 13 deletions tests/api-resources/chat/completions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ describe('resource completions', () => {
model: 'string',
frequency_penalty: -2,
function_call: 'none',
functions: [
{ name: 'name', description: 'description', parameters: { foo: 'bar' } },
{ name: 'name', description: 'description', parameters: { foo: 'bar' } },
{ name: 'name', description: 'description', parameters: { foo: 'bar' } },
],
functions: [{ name: 'name', description: 'description', parameters: { foo: 'bar' } }],
logit_bias: { foo: 0 },
logprobs: true,
max_tokens: 0,
Expand All @@ -51,14 +47,6 @@ describe('resource completions', () => {
function: { name: 'name', description: 'description', parameters: { foo: 'bar' } },
type: 'function',
},
{
function: { name: 'name', description: 'description', parameters: { foo: 'bar' } },
type: 'function',
},
{
function: { name: 'name', description: 'description', parameters: { foo: 'bar' } },
type: 'function',
},
],
top_logprobs: 0,
top_p: 1,
Expand Down

0 comments on commit e2711d6

Please sign in to comment.