Feat/kimi client multimodal session - #20
Open
1982167424-art wants to merge 2 commits into
Open
Conversation
…story 修复 3 个硬伤: - B1 API base 统一为 https://api.moonshot.cn/v1(清掉误用的 .ai) - B2 reasoning_effort ���齐 README:low/high/max,默认 max(去掉不存在的 medium) - B3 合并两套客户端,video_understanding.py 改为从 kimi_multimodal 重导出, 旧 `from video_understanding import VideoUnderstanding` 继续可用 新增 P0 核心能力: - ChatSession 多轮对话,自动把 reasoning_content / tool_calls 原样存回 messages, 符合 K3 多轮对话对完整 thinking history 的要求 - KimiClient.chat() 纯文本对话入口 - 流式输出把 reasoning(思考过程)与 content(答案)分开产出 - send_image / send_video 支持多模态多轮;reset() 保留 system 消息 配套: - test_chat_session.py:mock 离线单测(14 项全过,无需 API key) - .gitignore:排除 __pycache__、.workbuddy/、.claude/、生成产物
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.