Skip to content

Commit

Permalink
fix: type alias (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
mizy authored Dec 5, 2023
1 parent fa73dd3 commit b0d0fe2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/api/studio/pkg/llm/schedule.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import (
db "github.com/vesoft-inc/nebula-studio/server/api/studio/internal/model"
)

type LLMJob = db.LLMJob
type LLMConfig = db.LLMConfig

func InitSchedule() {
// TODO
for {
Expand Down
1 change: 1 addition & 0 deletions server/api/studio/pkg/llm/transformer/openai.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func (o *OpenAI) HandleResponse(resp *http.Response, callback func(str string))
if err := scanner.Err(); err != nil {
fmt.Println("reading standard input:", err)
}
callback("[DONE]")
return nil, nil
}
// Read the response data
Expand Down

0 comments on commit b0d0fe2

Please sign in to comment.