File tree 6 files changed +10
-5
lines changed
6 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 68
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-4097c2f86beb3f3bb021775cd1dfa240e960caf842aeefc2e08da4dc0851ea79 .yml
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-97797a9363b9960b5f2fbdc84426a2b91e75533ecd409fe99e37c231180a4339 .yml
Original file line number Diff line number Diff line change 21
21
"prepare" : " if ./scripts/utils/check-is-in-git-install.sh; then ./scripts/build; fi" ,
22
22
"tsn" : " ts-node -r tsconfig-paths/register" ,
23
23
"lint" : " ./scripts/lint" ,
24
- "fix" : " eslint --fix --ext ts,js . "
24
+ "fix" : " ./scripts/format "
25
25
},
26
26
"dependencies" : {
27
27
"@types/node" : " ^18.11.18" ,
Original file line number Diff line number Diff line change 5
5
cd " $( dirname " $0 " ) /.."
6
6
7
7
echo " ==> Running eslint --fix"
8
- ./node_modules/.bin/eslint --fix --ext ts,js .
8
+ ESLINT_USE_FLAT_CONFIG= " false " ./node_modules/.bin/eslint --fix --ext ts,js .
Original file line number Diff line number Diff line change 5
5
cd " $( dirname " $0 " ) /.."
6
6
7
7
echo " ==> Running eslint"
8
- ./node_modules/.bin/eslint --ext ts,js .
8
+ ESLINT_USE_FLAT_CONFIG= " false " ./node_modules/.bin/eslint --ext ts,js .
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ export class Chat extends APIResource {
10
10
11
11
export type ChatModel =
12
12
| 'gpt-4o'
13
- | 'gpt-4o-2024-08-06'
14
13
| 'gpt-4o-2024-05-13'
14
+ | 'gpt-4o-2024-08-06'
15
15
| 'gpt-4o-mini'
16
16
| 'gpt-4o-mini-2024-07-18'
17
17
| 'gpt-4-turbo'
Original file line number Diff line number Diff line change @@ -829,6 +829,11 @@ export interface ChatCompletionCreateParamsBase {
829
829
* [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
830
830
* all GPT-3.5 Turbo models newer than `gpt-3.5-turbo-1106`.
831
831
*
832
+ * Setting to `{ "type": "json_schema", "json_schema": {...} }` enables Structured
833
+ * Outputs which guarantees the model will match your supplied JSON schema. Learn
834
+ * more in the
835
+ * [Structured Outputs guide](https://platform.openai.com/docs/guides/structured-outputs).
836
+ *
832
837
* Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
833
838
* message the model generates is valid JSON.
834
839
*
You can’t perform that action at this time.
0 commit comments