feat: add node url to api keys & docs (#2283)

* feat: add node url to api keys & docs

closes #2277

* add finnish to tools/i18n-ai-tool.py

* regenerate localization with i18n-ai-tool

* chore: make bundle

---------

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
dni ⚡ 2024-02-20 12:32:49 +01:00 committed by GitHub
parent 7b559991c7
commit 14ae6d8b1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 225 additions and 46 deletions

View file

@ -64,6 +64,7 @@ def translate_string(lang_from, lang_to, text):
"cs": "Czech",
"sk": "Slovak",
"kr": "Korean",
"fi": "Finnish",
}[lang_to]
assert os.getenv("OPENAI_API_KEY"), "OPENAI_API_KEY env var not set"
client = OpenAI()