feat(翻译):优化翻译保存地址!
deploy-hxtesting / build-and-deploy (push) Successful in 1m14s

This commit is contained in:
runny committed 2026-11-30 23:48:07 +08:00
1 parent 7d3b6804af
commit 2048251eff
6 files changed
+209 -51

No files matched your search

@@ -694,8 +694,10 @@ func (s *agentService) registerXlsxTranslateTool(
if err == nil && sandboxMgr != nil {
store = sessionSandboxFileStore(sandboxMgr)
}
// store doubles as the dir ensurer; both are nil without a sandbox.
toolRegistry.RegisterTool(tools.NewXlsxTranslateTool(store, store, s.temporaryDocuments, chatModel))
// store doubles as the dir ensurer; both are nil without a sandbox. The
// message service is the no-sandbox artifact sink: deliverables attach to
// the assistant message and surface as chat artifact cards.
toolRegistry.RegisterTool(tools.NewXlsxTranslateTool(store, store, s.temporaryDocuments, s.fileService, s.messageService, chatModel))
if store != nil {
logger.Infof(ctx, "Registered xlsx_translate tool for session: %s (sandbox delivery)", sessionID)
} else {