Skip to content

Commit e471a82

Browse files
2 parents 78a7f4c + 596439e commit e471a82

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

routes/agentRoutes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
GROQ_API_KEY = os.getenv("GROQ_API_KEY")
1919
groq_client = groq.Client(api_key=GROQ_API_KEY)
2020

21+
GEMINI_API_KEY = os.getenv("GEMINI_API_KEY")
22+
2123
if not GROQ_API_KEY:
2224
raise ValueError("Please provide a GROQ API key")
2325

@@ -31,6 +33,7 @@ async def health_check(request: Request):
3133
"uptime": "OK",
3234
"api": {
3335
"groq_api": "connected" if GROQ_API_KEY else "not configured",
36+
"gemini_api": "connected" if GEMINI_API_KEY else "not configured",
3437
},
3538
"ip": requests.get('https://api.ipify.org').text,
3639
"services": {

templates/base.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@
227227
<span class="terminal-prompt">></span>
228228
<a class="terminal-link" href="/stock-analysis/" target="_blank">/stock-analysis</a>
229229
</li>
230+
<li class="terminal-item">
231+
<span class="terminal-prompt">></span>
232+
<a class="terminal-link" href="/health" target="_blank">/health</a>
233+
</li>
230234
</ul>
231235
</main>
232236
<footer>

0 commit comments

Comments
 (0)