fix(openaicaller.py): remove sensitive information from the API key

fix(openaicaller.py): fix typo in the API key
This commit is contained in:
Paillat
2023-07-16 17:12:21 +02:00
parent 6c404c3803
commit 2fe793e7a4

View File

@@ -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"}],