Skip to content

Commit

Permalink
feat: add gpts chat api
Browse files Browse the repository at this point in the history
Signed-off-by: Abirdcfly <fp544037857@gmail.com>
  • Loading branch information
Abirdcfly committed Mar 28, 2024
1 parent 6955111 commit ad71b2a
Show file tree
Hide file tree
Showing 12 changed files with 519 additions and 24 deletions.
2 changes: 1 addition & 1 deletion api/base/v1alpha1/condition.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (s *ConditionedStatus) IsReadyOrGetReadyMessage() (isReady bool, msg string
return true, ""
}
for _, cond := range s.Conditions {
msg += fmt.Sprintf("%s:%s", cond.Reason, cond.Message)
msg += fmt.Sprintf(" [reason]: %s [message]: %s ", cond.Reason, cond.Message)
}
return false, msg
}
312 changes: 304 additions & 8 deletions apiserver/graph/generated/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ad71b2a

Please sign in to comment.