-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopenbb-app.env
More file actions
118 lines (83 loc) · 2.94 KB
/
Copy pathopenbb-app.env
File metadata and controls
118 lines (83 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# ============================================
# OpenBB App Environment Configuration Template
# ============================================
# This file contains essential configuration for openbb-app.
# Copy this file to .env and fill in your actual values.
# ---------------------------
# REQUIRED Configuration
# ---------------------------
# These variables MUST be set for the application to function properly.
# Agent host URL - the URL where the AI agent service is running
AGENT_HOST_URL=http://localhost:4322
# Application API key for authentication
APP_API_KEY=
# OpenRouter API key for AI functionality
OPENROUTER_API_KEY=
# ---------------------------
# OPTIONAL Configuration
# ---------------------------
# These variables have default values and can be omitted if not needed.
# Default data provider (akshare, tdxquant, yfinance, etc.)
# DEFAULT_PROVIDER=akshare
# Path to the data folder for storing transaction data
# DATA_FOLDER_PATH=data
# Name of the transaction data file
# DATA_FILE_NAME=transactions.xlsx
# CORS origins - comma-separated list of allowed origins
CORS_ORIGINS=https://finanalyzer.github.io,http://localhost:8080,http://localhost:5173
# ---------------------------
# AI Model Configuration
# ---------------------------
# These variables configure the AI models used by the application.
# OpenAI-compatible base URL (for custom endpoints like GLM)
# BASE_URL=https://open.bigmodel.cn/api/paas/v4
# Default AI model to use
# OPENAI_MODEL=glm-4-flash
# ---------------------------
# Data Provider API Keys
# ---------------------------
# Uncomment and configure these if you need specific data providers.
# Tushare API key for Chinese market data
TUSHARE_API_KEY=
# AkShare API key (optional, some features require it)
AKSHARE_API_KEY=
# Financial Modeling Prep API key
# FMP_API_KEY=
# ---------------------------
# App Builder Configuration
# ---------------------------
# These are for the OpenBB App Builder Agent functionality.
# Target repository path for app building
OPENBB_APP_BUILDER_TARGET_REPO_PATH=
# Default model for code generation
# OPENBB_APP_BUILDER_DEFAULT_MODEL=opencode/deepseek-v4-flash-free
# Code generator type (claude or opencode)
OPENBB_APP_BUILDER_CODE_GENERATOR=opencode
# Skip permissions check for OpenCode
# OPENBB_APP_BUILDER_OPENCODE_SKIP_PERMISSIONS=True
# ---------------------------
# Additional AI Services
# ---------------------------
# Uncomment these if you need additional AI services.
# GLM API key (Zhipu AI)
# GLM_API_KEY=
# TAVILY API key for search functionality
# TAVILY_API_KEY=
# ARK API key
# ARK_API_KEY=
# OpenAI API key (alternative to OpenRouter)
# OPENAI_API_KEY=
# Zhipu AI API key
# ZHIPUAI_API_KEY=
# ---------------------------
# Vibe-Trading Configuration
# ---------------------------
LANGCHAIN_TEMPERATURE=0.0
LANGCHAIN_PROVIDER=openai
LANGCHAIN_MODEL_NAME=deepseek-v4-flash
TUSHARE_TOKEN=
TIMEOUT_SECONDS=120
MAX_RETRIES=2
# Updated from Web UI
OPENAI_BASE_URL=
OPENAI_API_KEY=