Skip to content

feat: v3.2.7 arXiv 工具集与运行时变更感知#52

Merged
69gg merged 25 commits intomainfrom
feature/faster-emb-and-other
Mar 29, 2026
Merged

feat: v3.2.7 arXiv 工具集与运行时变更感知#52
69gg merged 25 commits intomainfrom
feature/faster-emb-and-other

Conversation

@69gg
Copy link
Copy Markdown
Owner

@69gg 69gg commented Mar 29, 2026

Summary

  • 新增 arXiv 论文工具集arxiv_search + arxiv_paper,支持关键词搜索论文、提取摘要与关键信息
  • 新增运行时 /changelog 命令与查询工具,可在对话中检索变更历史
  • 重构生图工具为双模式:保留星之阁 API,新增 OpenAI 兼容接口([models.image_gen] 配置节)
  • 新增 grok_search 联网搜索:专用 [models.grok] 配置,启用后优先级高于 SearXNG
  • AI 自知之明:系统提示词注入当前模型非敏感配置(模型名、认知开关、模型池状态等)
  • 认知记忆检索优化:复用查询嵌入,减少重复嵌入计算
  • 大量 Bugfix:reply_to 目标定位、Responses 回放 ID 规范化、grok_search 简化、crawl4ai 检测等
  • CI 优化:npm + mypy 缓存策略、Android 签名 APK 构建分离
  • WebUI 改进:移动端适配、快捷键与长列表展示优化

共 25 个 commit,126 个文件变更,+7699/-920 行。

Test plan

  • 本地启动 Bot,确认正常响应
  • 测试 arXiv 搜索与提取工具
  • 测试 /changelog 命令与查询工具
  • 测试生图工具(星之阁模式)
  • 测试生图工具(OpenAI 兼容模式,配置 provider=openai)
  • 测试 grok_search(配置 grok_search_enabled=true)
  • 测试 AI 对自身模型信息的感知(描述自己时是否准确)
  • uv run pytest tests/ 全部测试通过
  • uv run ruff format . && uv run ruff check . && uv run mypy . 代码质量检查通过

🤖 Generated with Claude Code


Open with Devin

69gg and others added 25 commits March 21, 2026 10:48
Add grok_search as a first-class联网搜索 tool inside web_agent,
with a new [models.grok] config section and search.grok_search_enabled
switch. When enabled, grok_search is exposed with higher priority than
web_search (SearXNG); otherwise it's filtered from web_agent's tool list.

Also fix test_llm_retry_suppression mock gaps (missing _crawl4ai_capabilities).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Remove all content/source extraction and formatting logic.
Return str(result) directly; token stats flow automatically through
the unified llm call chain. Update tool description to emphasize
natural language queries and priority usage.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
生图工具从硬编码星之阁 API 改为可配置双模式:
- xingzhige: 保留免费星之阁 API(默认)
- models: 调用 OpenAI 兼容接口([models.image_gen] 配置)

主要变更:
- 新增 ImageGenModelConfig 和 ImageGenConfig 数据类
- 新增 [models.image_gen] 配置节(api_url/api_key/model_name)
- 新增 [image_gen] 配置节(provider 切换 + openai_size/quality/style)
- Handler 重构为双模式分发,非空参数才传 body
- models.image_gen 未填时自动降级到 chat_model 配置
- 接入 token_usage 统计(call_type=image_gen,静默记录)
- WebUI config-form.js 支持 image_gen.provider 下拉选项

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@69gg 69gg force-pushed the feature/faster-emb-and-other branch from 61e6efc to 1b307f0 Compare March 29, 2026 06:07
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 8 additional findings.

Open in Devin Review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 61e6efc2e8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -0,0 +1,647 @@
## v3.2.6 Responses 重试与私聊发送修复
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add current release section to changelog

The new changelog features (/changelog latest and changelog_query with action=latest) use the first entry in CHANGELOG.md as the newest release. This commit bumps runtime/package versions to 3.2.7, but the file still starts at v3.2.6, so users on 3.2.7 will always see stale release notes from the previous version. Add a v3.2.7 section at the top (or otherwise keep latest entry aligned with package version) so latest queries are accurate.

Useful? React with 👍 / 👎.

@69gg 69gg merged commit f27b69b into main Mar 29, 2026
3 checks passed
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