公众号验证码功能完成 yeah!!!

This commit is contained in:
2025-11-21 15:33:03 +08:00
parent ad35173301
commit 6330f6faa1
614 changed files with 31574 additions and 4571 deletions

View File

@@ -15,20 +15,19 @@ class Files extends resource_1.APIResource {
* up to 512 MB, and the size of all files uploaded by one organization can be up
* to 1 TB.
*
* The Assistants API supports files up to 2 million tokens and of specific file
* types. See the
* [Assistants Tools guide](https://platform.openai.com/docs/assistants/tools) for
* details.
*
* The Fine-tuning API only supports `.jsonl` files. The input also has certain
* required formats for fine-tuning
* [chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input) or
* [completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
* models.
*
* The Batch API only supports `.jsonl` files up to 200 MB in size. The input also
* has a specific required
* [format](https://platform.openai.com/docs/api-reference/batch/request-input).
* - The Assistants API supports files up to 2 million tokens and of specific file
* types. See the
* [Assistants Tools guide](https://platform.openai.com/docs/assistants/tools)
* for details.
* - The Fine-tuning API only supports `.jsonl` files. The input also has certain
* required formats for fine-tuning
* [chat](https://platform.openai.com/docs/api-reference/fine-tuning/chat-input)
* or
* [completions](https://platform.openai.com/docs/api-reference/fine-tuning/completions-input)
* models.
* - The Batch API only supports `.jsonl` files up to 200 MB in size. The input
* also has a specific required
* [format](https://platform.openai.com/docs/api-reference/batch/request-input).
*
* Please [contact us](https://help.openai.com/) if you need to increase these
* storage limits.
@@ -49,7 +48,7 @@ class Files extends resource_1.APIResource {
return this._client.getAPIList('/files', (pagination_1.CursorPage), { query, ...options });
}
/**
* Delete a file.
* Delete a file and remove it from all vector stores.
*/
delete(fileID, options) {
return this._client.delete((0, path_1.path) `/files/${fileID}`, options);