From 2fe793e7a41a036fb1ce168fcea6249fc242752b Mon Sep 17 00:00:00 2001 From: Paillat Date: Sun, 16 Jul 2023 17:12:21 +0200 Subject: [PATCH] fix(openaicaller.py): remove sensitive information from the API key fix(openaicaller.py): fix typo in the API key --- src/utils/openaicaller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/openaicaller.py b/src/utils/openaicaller.py index f204213..f0494cb 100644 --- a/src/utils/openaicaller.py +++ b/src/utils/openaicaller.py @@ -126,7 +126,7 @@ class openai_caller: ##testing if __name__ == "__main__": async def main(): - openai = openai_caller(api_key="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") + openai = openai_caller(api_key="sk-") response = await openai.generate_response( model="gpt-3.5-turbo", messages=[{"role":"user", "content":"ping"}],