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:
parent
7b559991c7
commit
14ae6d8b1a
22 changed files with 225 additions and 46 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue