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 13:32:49 +02:00
committed by GitHub
co-authored by Pavol Rusnak
parent 7b559991c7
commit 14ae6d8b1a
22 changed files with 225 additions and 46 deletions
+1
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()