Simplify KB duplicate API and improve naming/docs coverage.

Drop client-supplied target_id, generate IDs server-side, localize duplicate
names from request language, document the endpoint, and expand handler/client tests.
This commit is contained in:
wizardchen
2026-07-08 20:53:59 +08:00
committed by lyingbug
parent 58b79876ae
commit 6ac1703198
11 changed files with 280 additions and 59 deletions
@@ -86,7 +86,6 @@ func (s *stubKnowledgeBaseService) CopyKnowledgeBase(
func (s *stubKnowledgeBaseService) DuplicateKnowledgeBase(
context.Context,
string,
string,
) (*types.KnowledgeBase, error) {
return nil, nil
}