Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Merge pull request #18 from loyal812/fix/api-key-implementation
Browse files Browse the repository at this point in the history
fix: api key implementation error
  • Loading branch information
eureka320 committed Mar 28, 2024
2 parents e72fc6d + 513654e commit 6da82fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/chatting.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def chatting(args):
gc.collect()

# Return the result
return {"status": "success", "response": response.response}
return {"status": "success", "api_key": args["api_key"], "response": response.response}
else:
print("invalide api key")

Expand Down

0 comments on commit 6da82fe

Please sign in to comment.