Repository navigation
v1.1.0
feat(llm): 新增 AI 助手与 DNS 诊断功能 / Add AI Assistant with DNS diagnostics functions
新增 LLM 模块 / Add LLM Module:
- OpenAI 兼容客户端与函数注册表 / OpenAI-compatible client and function registry
- AI 助手浮动聊天窗口(玻璃态设计)/ Floating AI chat window with glassmorphism design
- LLM 配置页面(支持 OpenAI、阿里云、豆包、月之暗面)/ LLM settings page for multiple providers
DNS 诊断函数 / DNS Diagnostics Functions:
- trace_dns_resolution: 完整解析链路追踪(缓存、重写、本地、所有上游)/ Full resolution trace with all upstreams and IP addresses
- test_upstream_connectivity: 上游服务器连通性测试 / Upstream health check
- compare_upstream_responses: 多上游解析结果对比 / Compare responses from multiple upstreams
- list_upstream_servers: 列出所有上游服务器 / List all upstream servers
- query_single_upstream: 指定或随机上游解析 / Query specific or random upstream
前端 / Frontend:
- AiAssistant.vue: 浮动聊天窗口、拖拽支持、全屏模式 / Floating chat, drag support, fullscreen
- LlmSettings.vue: 服务商配置管理 / Provider configuration management
- 修复 AI 助手输入框垂直居中 / Fix vertical centering in input box
后端 / Backend:
- HTTP 客户端超时增加至 5 分钟 / Increase HTTP timeout to 5 minutes
- 新增 /api/llm/config 和 /api/llm/chat 端点 / Add LLM API endpoints