refactor(runtime): replace RuntimeExecutor with direct use of executor.Service

This commit is contained in:
mlogclub
2026-04-17 17:31:28 +08:00
parent 81056a61a1
commit d5d1956964
2 changed files with 2 additions and 34 deletions
+2 -3
View File
@@ -3,12 +3,11 @@ package runtime
import (
"context"
runtimeeino "cs-agent/internal/ai/infra/eino"
"cs-agent/internal/ai/runtime/executor"
)
type Service struct {
runtime *runtimeeino.RuntimeExecutor
runtime *executor.Service
catalog *toolCatalog
prepare *prepareService
}
@@ -16,7 +15,7 @@ type Service struct {
func NewService() *Service {
catalog := newToolCatalog()
return &Service{
runtime: runtimeeino.NewRuntimeExecutor(),
runtime: executor.NewService(),
catalog: catalog,
prepare: newPrepareService(catalog),
}