Skip to content

Commit

Permalink
feat: add flexible enum to model param (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored and rattrayalex committed Jul 19, 2023
1 parent 0aea5a6 commit a6bbcad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resources/completions.ts
Expand Up @@ -72,7 +72,7 @@ export namespace CompletionCreateParams {
* [models](https://docs.anthropic.com/claude/reference/selecting-a-model) for
* additional details.
*/
model: string;
model: (string & {}) | 'claude-2' | 'claude-instant-1';

/**
* The prompt that you want Claude to complete.
Expand Down Expand Up @@ -175,7 +175,7 @@ export namespace CompletionCreateParams {
* [models](https://docs.anthropic.com/claude/reference/selecting-a-model) for
* additional details.
*/
model: string;
model: (string & {}) | 'claude-2' | 'claude-instant-1';

/**
* The prompt that you want Claude to complete.
Expand Down

0 comments on commit a6bbcad

Please sign in to comment.