Skip to content

Fix BytePlus Viking Memory region and tool filtering - #842

Merged
yaozheng-fang merged 1 commit into
volcengine:mainfrom
FirstayZheng:fix/byteplus-viking-memory-tools
Aug 7, 2026
Merged

Fix BytePlus Viking Memory region and tool filtering#842
yaozheng-fang merged 1 commit into
volcengine:mainfrom
FirstayZheng:fix/byteplus-viking-memory-tools

Conversation

@FirstayZheng

Copy link
Copy Markdown
Contributor

背景

BytePlus 环境下创建 Agent 时需要屏蔽部分不可用的联网搜索工具;同时长期记忆 Viking backend 在 BytePlus 下需要使用 Viking Memory 的香港地域和域名,避免落到不适用的 region。

修改内容

  • 创建页工具列表按 cloudProvider 过滤,BytePlus 下隐藏 web_searchparallel_web_search
  • 生成/导入草稿能力清洗时沿用同一套 provider-aware 工具列表,避免隐藏工具被重新带回。
  • BytePlus Viking Memory 默认固定为 cn-hongkong,并使用 api-knowledgebase.mlp.cn-hongkong.bytepluses.com
  • Studio 部署/更新 BytePlus 环境时同步写入 DATABASE_VIKING_REGION=cn-hongkong
  • 补充 BytePlus Viking Memory/Knowledge backend 与 Studio 部署相关测试。
  • 更新前端构建产物。

验证

  • npm test -- tests/generatedAgentPlanner.test.mjs tests/markdownPromptEditor.test.mjs
  • uv run pytest tests/test_vikingdb_memory_backend.py tests/test_vikingdb_knowledge_backend.py tests/cli/test_studio_update.py::test_studio_update_supports_byteplus_provider tests/cli/test_studio_rbac.py::test_byteplus_deploy_agentkit_uses_iam_file_for_sdk_templates
  • uv run pre-commit run --show-diff-on-failure

@yaozheng-fang
yaozheng-fang merged commit 5f417d2 into volcengine:main Aug 7, 2026
7 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.

2 participants