Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
hupe1980 committed Nov 11, 2023
1 parent 1e491c2 commit d14835b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions callback/prompt_layer.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ func (cb PromptLayerHandler) OnModelEnd(ctx context.Context, input *schema.Model
invocationParams, _ := runInfo["invocationParams"].(map[string]any)

var kwargs map[string]any

prompt, ok := runInfo["prompt"].(string)
if ok {
kwargs = map[string]any{
Expand Down

0 comments on commit d14835b

Please sign in to comment.