findEthics Claude commited on
Commit
dca2bc9
·
1 Parent(s): 41b6a61

Clean up commented API key line

Browse files

Removed commented hardcoded API key reference for cleaner code.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -218,7 +218,7 @@ def classify_query(prompt: str) -> str:
218
  def search_brave(query: str, max_results: int = 5) -> List[Dict[str, Any]]:
219
  """Search using Brave Search API"""
220
  try:
221
- api_key = os.getenv('BRAVE_API_KEY') #or 'BSAaiYwrOKAj6njwCZ5IZVaJBfvCVNL'
222
  if not api_key:
223
  logger.error("BRAVE_API_KEY environment variable not set")
224
  return []
 
218
  def search_brave(query: str, max_results: int = 5) -> List[Dict[str, Any]]:
219
  """Search using Brave Search API"""
220
  try:
221
+ api_key = os.getenv('BRAVE_API_KEY')
222
  if not api_key:
223
  logger.error("BRAVE_API_KEY environment variable not set")
224
  return []