Skip to content

feat(kimi): add file upload and chat with files support#301

Open
lalalaagasdgadg wants to merge 1 commit into
wangrongding:mainfrom
lalalaagasdgadg:feature/kimi-file-upload
Open

feat(kimi): add file upload and chat with files support#301
lalalaagasdgadg wants to merge 1 commit into
wangrongding:mainfrom
lalalaagasdgadg:feature/kimi-file-upload

Conversation

@lalalaagasdgadg
Copy link
Copy Markdown

-为kimi添加文件上传功能支持

- Add uploadFile() for uploading files to Kimi API
- Add listFiles() to get file list
- Add getFile() to get file info
- Add deleteFile() to delete files
- Add getFileContent() to get parsed file content
- Add chatWithFile() for single file conversation
- Add chatWithMultipleFiles() for multi-file conversation
- Add helper functions: waitForFilesProcessed(), sleep(), handleError()
- Add comprehensive test cases in __test__.js
- Add form-data dependency for file uploads

Fixes: Kimi file upload feature requested in README

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant