mirror of
https://gitflic.ru/project/alt-gnome/karkas.git
synced 2025-09-26 18:29:06 +03:00
Начало разработки модуля YandexGPT
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import yaml
|
||||
from service import paths
|
||||
from ....service import paths
|
||||
|
||||
|
||||
def get_config(is_test: bool = False) -> dict:
|
||||
@@ -13,3 +13,7 @@ def get_config(is_test: bool = False) -> dict:
|
||||
return yaml.full_load(file)
|
||||
|
||||
|
||||
def get_yandexgpt_token() -> str:
|
||||
return get_config()["YANDEX_GPT_TOKEN"]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user