Skip to content

Commit

Permalink
Merge pull request #865 from 0xff-dev/main
Browse files Browse the repository at this point in the history
chore: add modelsource field and update graphql definition
  • Loading branch information
bjwswang authored Mar 15, 2024
2 parents c1a50c1 + 39c3736 commit fd5f1cf
Show file tree
Hide file tree
Showing 7 changed files with 428 additions and 3 deletions.
2 changes: 2 additions & 0 deletions api/base/v1alpha1/model_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ type ModelSpec struct {
// It can be a tag, branch name.
Revision string `json:"revision,omitempty"`

ModelSource string `json:"modelSource,omitempty"`

// MaxContextLength defines the max context length allowed in this model
MaxContextLength int `json:"maxContextLength,omitempty"`
}
Expand Down
Loading

0 comments on commit fd5f1cf

Please sign in to comment.