Open
Conversation
Bot proxy endpoints (/chat, /chat/stream) previously required auth unconditionally, while other endpoints like /find use get_request_context which allows dev mode without API keys. This caused inconsistent behavior where ov find worked but ov chat failed with 401. Now bot endpoints use the same get_request_context dependency for consistent auth behavior across all endpoints. Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Update URI utilities for better path handling - Improve memory type registry and updater - Enhance session extraction context provider - Update memory prompt templates Co-Authored-By: Claude Opus 4.6 <[email protected]>
- bot/ov_server.py: pass message timestamp to session.add_message() - client/session.py: pass created_at to underlying client - sync_client.py: add created_at parameter to add_message() When created_at is not provided, the server will use current time. Co-Authored-By: Claude Opus 4.6 <[email protected]>
…ground tasks - Add end_time check in tracer.info/set/error to avoid "Tried calling _add_event on an ended span" - Add AsyncioInstrumentor to auto-create child spans for asyncio.create_task - Add @tracer decorator to _run_memory_extraction for background task tracing - Add opentelemetry-instrumentation-asyncio dependency Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
Failed to generate code suggestions for PR |
The openviking/telemetry/langfuse.py was not being imported anywhere in the openviking package. Project uses bot/vikingbot/integrations/langfuse.py instead. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
- Remove unused sys import - Sort import block alphabetically - Remove unused span variable Co-Authored-By: Claude Opus 4.6 <[email protected]>
- 合并两个方法,统一模板渲染逻辑 - 添加extract_context参数支持模板渲染 - 添加[content_template]日志标签用于调试events渲染问题 Co-Authored-By: Claude Opus 4.6 <[email protected]>
1. tools.py: 导入缺失的 truncate_content 函数和 ToolContext 类型 2. tools.py: 修复 f-string 无占位符的问题 3. test_memory_utils.py: 删除引用不存在函数的测试 Co-Authored-By: Claude Opus 4.6 <[email protected]>
This reverts commit ede6192.
- 添加 soul.yaml 和 identity.yaml 记忆模板 - 在 MemoryField 中添加 init_value 字段支持默认值 - 在 directories.py 中添加初始化逻辑,当字段配置了 init_value 时自动创建记忆文件 Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
- 从 JSON 数据 conversation 提取对话最晚时间作为问题时间
- prompt 注入 "Current date: {time}" 提升时间相关问题回答质量
- 添加 --question-index 参数支持单题测试
- 添加 --skip-import 参数支持跳过导入步骤
- 新增 import_and_eval_one.sh 脚本用于单题测试
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
- 简化 StructuredMemoryOperations 相关代码,移除旧版 fallback - 修复 Jinja2 渲染 StrPatch 对象时调用 __str__ 的问题 - 统一文件存在/不存在逻辑,merge_op.apply 自动处理 current_value=None - serialize_with_metadata 统一处理模板渲染 - 移除 _extract_replace_from_patch 等冗余方法 Co-Authored-By: Claude Opus 4.6 <[email protected]>
- 优化 memory_updater.py 文件写入逻辑 - 修复模板渲染问题 - 更新 memory 模板文件 (entities, events, preferences, profile, soul, tools) - 修复 language.py 相关问题 Co-Authored-By: Claude Opus 4.6 <[email protected]>
- 使用 question_id(如 conv-26_qa0)作为 session_id,每个 query 完全独立 - 恢复 --threads 参数,默认值 20,控制并发度 Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
- import_and_eval_one.sh: 添加 --skip-import 参数支持跳过导入 - run_eval.py: is_invalid 改为按问题内容匹配,支持 errors.json - 调整 is_invalid 字段位置到 result 后面 Co-Authored-By: Claude Opus 4.6 <[email protected]>
Co-Authored-By: Claude Opus 4.6 <[email protected]>
- 默认路径从 test_data 改为 data - 添加 import_and_eval_one.sh 使用说明 - 添加 --skip-import 开关说明 Co-Authored-By: Claude Opus 4.6 <[email protected]>
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.
Description
Related Issue
Type of Change
Changes Made
Testing
Checklist
Screenshots (if applicable)
Additional Notes