feat: implement runtime service and types for application integration

This commit is contained in:
mlogclub
2026-04-13 20:37:22 +08:00
parent 2a5629b9f1
commit 521729f5d3
4 changed files with 48 additions and 9 deletions
+3 -3
View File
@@ -3,19 +3,19 @@ package runtime
import (
"context"
runtimeapp "cs-agent/internal/ai/runtime/app"
applicationruntime "cs-agent/internal/ai/application/runtime"
)
var Service = newService()
func newService() *service {
return &service{
app: runtimeapp.NewService(),
app: applicationruntime.NewService(),
}
}
type service struct {
app *runtimeapp.Service
app *applicationruntime.Service
}
func (s *service) Run(ctx context.Context, req Request) (*Summary, error) {