Skip to content

Commit

Permalink
Use prompt_body instead of kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
dilverse committed Oct 24, 2024
1 parent 34015a3 commit 6f6b887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minio/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ def prompt_object(
prompt_body = kwargs
prompt_body["prompt"] = prompt

body = json.dumps(kwargs)
body = json.dumps(prompt_body)
return self._execute(
"POST",
bucket_name,
Expand Down

0 comments on commit 6f6b887

Please sign in to comment.