cloudwego / cloudwego/eino-ext
feat(devops): support Agentic components (AgenticChatTemplate, AgenticModel, AgenticToolsNode)
- Dominant language
- Go
- Stars
- 811
- Forks
- 368
- Avg merge
- 16h 22m
- Merged PRs (30d)
- 13
Description
### Problem
When using Agentic components like `AddAgenticChatTemplateNode`, `AddAgenticModelNode`,
or `AddAgenticToolsNode` in a graph, the devops module fails with: unsupported component=AgenticChatTemplate
This error occurs in `devops/internal/model/container.go` in the `addNode` function,
which doesn't have cases for:
- `components.ComponentOfAgenticPrompt`
- `components.ComponentOfAgenticModel`
- `compose.ComponentOfAgenticToolsNode`
### Environment
- eino: v0.9.0-alpha.2
- eino-ext/devops: v0.1.8
### Expected Behavior
Devops should support rebuilding graphs that contain Agentic components for debugging purposes.
Contributor guide
Research direction
Read devops/internal/model/container.go and inspect the addNode function, especially how existing component cases rebuild graph nodes. Add support for the three Agentic component types named in the issue, then verify that graphs containing AgenticChatTemplate, AgenticModel, and AgenticToolsNode rebuild without the unsupported component error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- devops
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100