Skip to content

Commit

Permalink
fix: service system prompt init as an empty string (#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
woorui authored Apr 30, 2024
1 parent cd899d9 commit 3b5f553
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/bridge/ai/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ func newService(credential string, zipperAddr string, aiProvider LLMProvider, ex
LLMProvider: aiProvider,
sfnCallCache: make(map[string]*sfnAsyncCall),
}

s.SetSystemPrompt("")

// metadata
if exFn == nil {
s.Metadata = metadata.M{}
Expand Down

0 comments on commit 3b5f553

Please sign in to comment.