From 12be697f897f91ce94edd5ec5fca6abe236a5135 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 17:50:29 +0000 Subject: [PATCH] chore(internal): codegen related update (#37) --- .stats.yml | 2 +- src/resources/chat/completions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 34a1d05..ed7794b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 15 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2FTogetherAI-531deb043558b22becfd56a80a64a42f9e2da4ac29c5d7056bf3951c3a4aac5c.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2FTogetherAI-bbe2e1c1edae74e765e131bc83d9f2820b4c52b77bd75a00181905232d87081c.yml diff --git a/src/resources/chat/completions.ts b/src/resources/chat/completions.ts index ffca22c..1d82a86 100644 --- a/src/resources/chat/completions.ts +++ b/src/resources/chat/completions.ts @@ -379,7 +379,7 @@ export namespace CompletionCreateParams { /** * The role of the messages author. Choice between: system, user, or assistant. */ - role: 'system' | 'user' | 'assistant'; + role: 'system' | 'user' | 'assistant' | 'tool'; } export interface Name {