Skip to content

fix: 收敛模型响应敏感信息#560

Merged
yokowu merged 1 commit intomainfrom
feat/model-response-guard
Apr 29, 2026
Merged

fix: 收敛模型响应敏感信息#560
yokowu merged 1 commit intomainfrom
feat/model-response-guard

Conversation

@yokowu
Copy link
Copy Markdown
Collaborator

@yokowu yokowu commented Apr 29, 2026

概要

  • 调整模型响应脱敏边界,避免在 From 转换层统一清空凭证
  • 新增 ModelBrief 用于任务详情、任务列表和切换模型响应,避免任务相关接口暴露 api_key/base_url
  • 用户模型列表对团队/内置共享模型显式脱敏,个人模型保留自身凭证

测试

  • go test ./domain ./biz/setting/usecase ./biz/team/usecase ./biz/task/usecase ./biz/task/handler/v1 ./biz/project/usecase

@yokowu yokowu merged commit 25aaeb0 into main Apr 29, 2026
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