This commit is contained in:
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 {
|
||||
|
||||
Reference in new issue
Block a user