mirror of
https://github.com/Shubhamsaboo/awesome-llm-apps.git
synced 2026-07-16 23:44:06 -05:00
[PR #831] [CLOSED] fix: replace hardcoded API key placeholders in llm_router_app #8485
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Shubhamsaboo/awesome-llm-apps/pull/831
Author: @Alexi5000
Created: 5/21/2026
Status: ❌ Closed
Base:
main← Head:pr/fix-hardcoded-api-keys📝 Commits (1)
f8354a3fix: replace hardcoded API key placeholders with sidebar input📊 Changes
2 files changed (+17 additions, -8 deletions)
View changed files
➕
advanced_llm_apps/cursor_ai_experiments/llm_router_app/.env.example(+2 -0)📝
advanced_llm_apps/cursor_ai_experiments/llm_router_app/llm_router.py(+15 -8)📄 Description
Summary
Replaces hardcoded API key placeholder strings in
advanced_llm_apps/cursor_ai_experiments/llm_router_app/llm_router.pywith Streamlit sidebar text input, consistent with the rest of the repo.Problem
The file had literal strings as API key values:
This pattern:
st.sidebar.text_inputfor key collectionChanges
st.sidebar.text_input(password-masked)st.stop()guard when keys are not provided.env.exampledocumenting required keysimport osbelow Streamlit setup (only needed after keys are collected)Test plan
st.stop()fires when keys are empty🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.