mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-11-13 15:57:22 +01:00
refactor(runtime): remove Eino and make Pi the sole agent engine
Delete the Eino model adapters, callbacks, middleware, orchestration, summarization and single-agent runner together with their dependencies. Chat, batch tasks, workflow Agent nodes and sub-agents now share the Pi runtime, and dispatch is a single code path instead of an engine switch. Configuration migrates eino_middleware/eino_skills to runtime/skills and drops the retired callback settings while old files still load. Settings, i18n and docs describe Pi only. Also carry the Pi follow-up fixes: empty required lists are omitted from tool schemas, historical tool results stay with their call batch, model proxies work over HTTP/1.1, single-query retrieval skips query expansion, and finalization docs match Pi lifecycle events.
This commit is contained in:
1 parent
35508eb614
commit
cfaa95d7bd
473 files changed
+3481
-37365
No files matched your search
@@ -1,9 +1,9 @@
|
||||
name: Pi runtime
|
||||
on:
|
||||
push:
|
||||
paths: ['runtime/pi/**', 'internal/agentruntime/**', 'internal/multiagent/**', 'internal/knowledge/**', 'internal/workflow/**', 'internal/config/**', 'cmd/build-runtime/**', 'scripts/build-pi-runtime.sh', '.github/workflows/pi-runtime.yml']
|
||||
paths: ['runtime/pi/**', 'internal/**', 'cmd/**', 'go.mod', 'go.sum', 'scripts/build-pi-runtime.sh', 'scripts/check-pi-only.sh', '.github/workflows/pi-runtime.yml']
|
||||
pull_request:
|
||||
paths: ['runtime/pi/**', 'internal/agentruntime/**', 'internal/multiagent/**', 'internal/knowledge/**', 'internal/workflow/**', 'internal/config/**', 'cmd/build-runtime/**', 'scripts/build-pi-runtime.sh', '.github/workflows/pi-runtime.yml']
|
||||
paths: ['runtime/pi/**', 'internal/**', 'cmd/**', 'go.mod', 'go.sum', 'scripts/build-pi-runtime.sh', 'scripts/check-pi-only.sh', '.github/workflows/pi-runtime.yml']
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
@@ -24,4 +24,5 @@ jobs:
|
||||
- run: npm run build && npm test
|
||||
working-directory: runtime/pi
|
||||
- run: go run ./cmd/build-runtime
|
||||
- run: bash scripts/check-pi-only.sh
|
||||
- run: go test -race ./internal/agentruntime ./internal/multiagent ./internal/knowledge ./internal/workflow
|
||||
Reference in new issue
Block a user