Skip to content

Commit

Permalink
feat(api): updates (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Feb 12, 2024
1 parent 2f45024 commit e1900f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/resources/chat/completions.ts
Expand Up @@ -708,6 +708,12 @@ export interface ChatCompletionCreateParamsBase {
*/
functions?: Array<ChatCompletionCreateParams.Function>;

/**
* An unique identifier to a custom instance to execute the request. The requesting
* organization is required to have access to the instance.
*/
instance_id?: string | null;

/**
* Modify the likelihood of specified tokens appearing in the completion.
*
Expand Down
1 change: 1 addition & 0 deletions tests/api-resources/chat/completions.test.ts
Expand Up @@ -30,6 +30,7 @@ describe('resource completions', () => {
frequency_penalty: -2,
function_call: 'none',
functions: [{ description: 'string', name: 'string', parameters: { foo: 'bar' } }],
instance_id: 'string',
logit_bias: { foo: 0 },
logprobs: true,
max_tokens: 0,
Expand Down

0 comments on commit e1900f9

Please sign in to comment.