mirror of
https://github.com/Paillat-dev/Botator.git
synced 2026-01-02 01:06:19 +00:00
fix(openaicaller.py): remove sensitive information from the API key
fix(openaicaller.py): fix typo in the API key
This commit is contained in:
@@ -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"}],
|
||||
|
||||
Reference in New Issue
Block a user