公众号验证码功能完成 yeah!!!
This commit is contained in:
43
node_modules/openai/resources/shared.d.mts
generated
vendored
43
node_modules/openai/resources/shared.d.mts
generated
vendored
@@ -1,5 +1,5 @@
|
||||
export type AllModels = (string & {}) | ChatModel | 'o1-pro' | 'o1-pro-2025-03-19' | 'o3-pro' | 'o3-pro-2025-06-10' | 'o3-deep-research' | 'o3-deep-research-2025-06-26' | 'o4-mini-deep-research' | 'o4-mini-deep-research-2025-06-26' | 'computer-use-preview' | 'computer-use-preview-2025-03-11';
|
||||
export type ChatModel = 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5-2025-08-07' | 'gpt-5-mini-2025-08-07' | 'gpt-5-nano-2025-08-07' | 'gpt-5-chat-latest' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano-2025-04-14' | 'o4-mini' | 'o4-mini-2025-04-16' | 'o3' | 'o3-2025-04-16' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o1' | 'o1-2024-12-17' | 'o1-preview' | 'o1-preview-2024-09-12' | 'o1-mini' | 'o1-mini-2024-09-12' | 'gpt-4o' | 'gpt-4o-2024-11-20' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-05-13' | 'gpt-4o-audio-preview' | 'gpt-4o-audio-preview-2024-10-01' | 'gpt-4o-audio-preview-2024-12-17' | 'gpt-4o-audio-preview-2025-06-03' | 'gpt-4o-mini-audio-preview' | 'gpt-4o-mini-audio-preview-2024-12-17' | 'gpt-4o-search-preview' | 'gpt-4o-mini-search-preview' | 'gpt-4o-search-preview-2025-03-11' | 'gpt-4o-mini-search-preview-2025-03-11' | 'chatgpt-4o-latest' | 'codex-mini-latest' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4-turbo' | 'gpt-4-turbo-2024-04-09' | 'gpt-4-0125-preview' | 'gpt-4-turbo-preview' | 'gpt-4-1106-preview' | 'gpt-4-vision-preview' | 'gpt-4' | 'gpt-4-0314' | 'gpt-4-0613' | 'gpt-4-32k' | 'gpt-4-32k-0314' | 'gpt-4-32k-0613' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-16k' | 'gpt-3.5-turbo-0301' | 'gpt-3.5-turbo-0613' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo-16k-0613';
|
||||
export type AllModels = (string & {}) | ChatModel | 'o1-pro' | 'o1-pro-2025-03-19' | 'o3-pro' | 'o3-pro-2025-06-10' | 'o3-deep-research' | 'o3-deep-research-2025-06-26' | 'o4-mini-deep-research' | 'o4-mini-deep-research-2025-06-26' | 'computer-use-preview' | 'computer-use-preview-2025-03-11' | 'gpt-5-codex' | 'gpt-5-pro' | 'gpt-5-pro-2025-10-06';
|
||||
export type ChatModel = 'gpt-5.1' | 'gpt-5.1-2025-11-13' | 'gpt-5.1-codex' | 'gpt-5.1-mini' | 'gpt-5.1-chat-latest' | 'gpt-5' | 'gpt-5-mini' | 'gpt-5-nano' | 'gpt-5-2025-08-07' | 'gpt-5-mini-2025-08-07' | 'gpt-5-nano-2025-08-07' | 'gpt-5-chat-latest' | 'gpt-4.1' | 'gpt-4.1-mini' | 'gpt-4.1-nano' | 'gpt-4.1-2025-04-14' | 'gpt-4.1-mini-2025-04-14' | 'gpt-4.1-nano-2025-04-14' | 'o4-mini' | 'o4-mini-2025-04-16' | 'o3' | 'o3-2025-04-16' | 'o3-mini' | 'o3-mini-2025-01-31' | 'o1' | 'o1-2024-12-17' | 'o1-preview' | 'o1-preview-2024-09-12' | 'o1-mini' | 'o1-mini-2024-09-12' | 'gpt-4o' | 'gpt-4o-2024-11-20' | 'gpt-4o-2024-08-06' | 'gpt-4o-2024-05-13' | 'gpt-4o-audio-preview' | 'gpt-4o-audio-preview-2024-10-01' | 'gpt-4o-audio-preview-2024-12-17' | 'gpt-4o-audio-preview-2025-06-03' | 'gpt-4o-mini-audio-preview' | 'gpt-4o-mini-audio-preview-2024-12-17' | 'gpt-4o-search-preview' | 'gpt-4o-mini-search-preview' | 'gpt-4o-search-preview-2025-03-11' | 'gpt-4o-mini-search-preview-2025-03-11' | 'chatgpt-4o-latest' | 'codex-mini-latest' | 'gpt-4o-mini' | 'gpt-4o-mini-2024-07-18' | 'gpt-4-turbo' | 'gpt-4-turbo-2024-04-09' | 'gpt-4-0125-preview' | 'gpt-4-turbo-preview' | 'gpt-4-1106-preview' | 'gpt-4-vision-preview' | 'gpt-4' | 'gpt-4-0314' | 'gpt-4-0613' | 'gpt-4-32k' | 'gpt-4-32k-0314' | 'gpt-4-32k-0613' | 'gpt-3.5-turbo' | 'gpt-3.5-turbo-16k' | 'gpt-3.5-turbo-0301' | 'gpt-3.5-turbo-0613' | 'gpt-3.5-turbo-1106' | 'gpt-3.5-turbo-0125' | 'gpt-3.5-turbo-16k-0613';
|
||||
/**
|
||||
* A filter used to compare a specified attribute key to a given value using a
|
||||
* defined comparison operation.
|
||||
@@ -10,7 +10,8 @@ export interface ComparisonFilter {
|
||||
*/
|
||||
key: string;
|
||||
/**
|
||||
* Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`.
|
||||
* Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`,
|
||||
* `nin`.
|
||||
*
|
||||
* - `eq`: equals
|
||||
* - `ne`: not equal
|
||||
@@ -18,13 +19,15 @@ export interface ComparisonFilter {
|
||||
* - `gte`: greater than or equal
|
||||
* - `lt`: less than
|
||||
* - `lte`: less than or equal
|
||||
* - `in`: in
|
||||
* - `nin`: not in
|
||||
*/
|
||||
type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
|
||||
/**
|
||||
* The value to compare against the attribute key; supports string, number, or
|
||||
* boolean types.
|
||||
*/
|
||||
value: string | number | boolean;
|
||||
value: string | number | boolean | Array<string | number>;
|
||||
}
|
||||
/**
|
||||
* Combine multiple filters using `and` or `or`.
|
||||
@@ -141,9 +144,16 @@ export interface Reasoning {
|
||||
/**
|
||||
* Constrains effort on reasoning for
|
||||
* [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
|
||||
* supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning
|
||||
* effort can result in faster responses and fewer tokens used on reasoning in a
|
||||
* response.
|
||||
* supported values are `none`, `minimal`, `low`, `medium`, and `high`. Reducing
|
||||
* reasoning effort can result in faster responses and fewer tokens used on
|
||||
* reasoning in a response.
|
||||
*
|
||||
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
|
||||
* reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
|
||||
* calls are supported for all reasoning values in gpt-5.1.
|
||||
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
|
||||
* support `none`.
|
||||
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
||||
*/
|
||||
effort?: ReasoningEffort | null;
|
||||
/**
|
||||
@@ -158,17 +168,26 @@ export interface Reasoning {
|
||||
* A summary of the reasoning performed by the model. This can be useful for
|
||||
* debugging and understanding the model's reasoning process. One of `auto`,
|
||||
* `concise`, or `detailed`.
|
||||
*
|
||||
* `concise` is only supported for `computer-use-preview` models.
|
||||
*/
|
||||
summary?: 'auto' | 'concise' | 'detailed' | null;
|
||||
}
|
||||
/**
|
||||
* Constrains effort on reasoning for
|
||||
* [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
|
||||
* supported values are `minimal`, `low`, `medium`, and `high`. Reducing reasoning
|
||||
* effort can result in faster responses and fewer tokens used on reasoning in a
|
||||
* response.
|
||||
* supported values are `none`, `minimal`, `low`, `medium`, and `high`. Reducing
|
||||
* reasoning effort can result in faster responses and fewer tokens used on
|
||||
* reasoning in a response.
|
||||
*
|
||||
* - `gpt-5.1` defaults to `none`, which does not perform reasoning. The supported
|
||||
* reasoning values for `gpt-5.1` are `none`, `low`, `medium`, and `high`. Tool
|
||||
* calls are supported for all reasoning values in gpt-5.1.
|
||||
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
|
||||
* support `none`.
|
||||
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
|
||||
*/
|
||||
export type ReasoningEffort = 'minimal' | 'low' | 'medium' | 'high' | null;
|
||||
export type ReasoningEffort = 'none' | 'minimal' | 'low' | 'medium' | 'high' | null;
|
||||
/**
|
||||
* JSON object response format. An older method of generating JSON responses. Using
|
||||
* `json_schema` is recommended for models that support it. Note that the model
|
||||
@@ -261,5 +280,5 @@ export interface ResponseFormatTextPython {
|
||||
*/
|
||||
type: 'python';
|
||||
}
|
||||
export type ResponsesModel = (string & {}) | ChatModel | 'o1-pro' | 'o1-pro-2025-03-19' | 'o3-pro' | 'o3-pro-2025-06-10' | 'o3-deep-research' | 'o3-deep-research-2025-06-26' | 'o4-mini-deep-research' | 'o4-mini-deep-research-2025-06-26' | 'computer-use-preview' | 'computer-use-preview-2025-03-11';
|
||||
export type ResponsesModel = (string & {}) | ChatModel | 'o1-pro' | 'o1-pro-2025-03-19' | 'o3-pro' | 'o3-pro-2025-06-10' | 'o3-deep-research' | 'o3-deep-research-2025-06-26' | 'o4-mini-deep-research' | 'o4-mini-deep-research-2025-06-26' | 'computer-use-preview' | 'computer-use-preview-2025-03-11' | 'gpt-5-codex' | 'gpt-5-pro' | 'gpt-5-pro-2025-10-06';
|
||||
//# sourceMappingURL=shared.d.mts.map
|
||||
Reference in New Issue
Block a user