ChatGPD im Linux Terminal, Problem beim API Key eingeben?
ich@meinem Laptop:~$ ai 'bist du da?' ERROR: missing API key Please set the environment variable AI_PY_API_KEY or set api_key in /home/nitya_deva/.config/ai-py/config.json ich@meinem Laptop:~$ ai 'bist du da?' Traceback (most recent call last): File "/usr/local/bin/ai", line 533, in <module> main() File "/usr/local/bin/ai", line 144, in main chat_once(session, pm, args.prompt) File "/usr/local/bin/ai", line 152, in chat_once res_message = session.chat(user_message) File "/usr/local/bin/ai", line 402, in chat res_message, data, messages = self.create_completion(params_override=params_override) File "/usr/local/bin/ai", line 436, in create_completion raise RequestError(e.status, e.read().decode()) from None __main__.RequestError: RequestError: 429, { "error": { "message": "You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors. ", "type": "insufficient_quota", "param": null, "code": "insufficient_quota" } } Das ist meine Ausgabe. Ich habe diese Anleitung verfolgt! Meine Telefonnummer registrierte ich bei ChatGPT, in Verbindung mit meinem Account, um den API Key zu bekommen. Bei diesem Befehl hier bin ich mir nicht ganz sicher, wohin die Datei .ai_py_config.json gespeichert werden soll. echo '{"api_key":"<Your API key>"}' > ~/.ai_py_config.json Ich habe die in den Ordnern: /home/ich/.config/ai-py und in: /usr/local/bin Bitte verzeiht mein Unwissen. Ich bin ein Laie und wollte nur ChatGPT im Terminal nutzen. (Linux Mint 21.3 Cinnamon)