Spaces:
Running
Running
| import os | |
| from typing import Literal, cast | |
| openai_api_key = cast(str, os.environ.get("OPENAI_API_KEY", "")) | |
| claude_api_key = cast(str, os.environ.get("CLAUDE_API_KEY")) | |
| langchain_api_key = cast(str, os.environ.get("LANGCHAIN_API_KEY")) | |
| hugging_face_api_key = cast(str, os.environ.get("HUGGINGFACEHUB_API_TOKEN")) | |
| bubble_token = cast(str, os.environ.get("BUBBLE_TOKEN")) | |
| cohere_api_key = cast(str, os.environ.get("COHERE_API_KEY", "")) | |
| deepseek_api_key = cast(str, os.environ.get("DEEPSEEKK_API_KEY")) | |
| google_api_key = cast(str, os.environ.get("GOOGLE_API_KEY_PEIXE")) | |
| ambiente: Literal["prd", "testes"] = cast( | |
| Literal["prd", "testes"], os.environ.get("AMBIENTE", "prd") | |
| ) | |