mirror of
https://github.com/harness/drone.git
synced 2025-05-16 17:09:58 +08:00
feat: [ML-542]: Add stage type to genai step context (#3266)
* feat: [ML-542]: Fix linting * feat: [ML-542]: Add stage type to genai step context
This commit is contained in:
parent
6be8fdf10a
commit
eb12a70a84
@ -55,7 +55,8 @@ func (PipelineContext) GetType() capabilities2.AIContextPayloadType {
|
||||
const AIContextPayloadTypeStepContext capabilities2.AIContextPayloadType = "other"
|
||||
|
||||
type StepContext struct {
|
||||
Yaml string `json:"step_yaml"`
|
||||
Yaml string `json:"step_yaml"`
|
||||
StageType string `json:"stage_type"`
|
||||
}
|
||||
|
||||
func (StepContext) GetName() string {
|
||||
|
Loading…
Reference in New Issue
Block a user