Skip to content

Commit

Permalink
feat(devops): add IsTitleReadOnly of JsonSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
liujian-bytedance committed Jan 13, 2025
1 parent 97a8606 commit c98ed23
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions devops/model/canvas.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const (
ComponentOfChatModel Component = "ChatModel"
ComponentOfChatTemplate Component = "ChatTemplate"
ComponentOfIndexer Component = "Indexer"
ComponentOfEmbedder Component = "Embedder"
ComponentOfEmbedding Component = "Embedding"
ComponentOfRetriever Component = "Retriever"
ComponentOfPassthrough Component = "Passthrough"
ComponentOfGraph Component = "Graph"
Expand All @@ -200,8 +200,9 @@ type ComponentSchema struct {

Slots []Slot `json:"slots,omitempty"`

Config *ConfigSchema `json:"config,omitempty"`
ExtraProperty *ExtraPropertySchema `json:"extra_property,omitempty"`
Config *ConfigSchema `json:"config,omitempty"`
ExtraProperty *ExtraPropertySchema `json:"extra_property,omitempty"`
IsTypeTitleReadOnly bool `json:"isTypeTitleReadOnly,omitempty"`
}

type ConfigSchema struct {
Expand Down

0 comments on commit c98ed23

Please sign in to comment.