diff --git a/public/index.html b/public/index.html index 08420fa..adab8b8 100644 --- a/public/index.html +++ b/public/index.html @@ -289,6 +289,29 @@ text-decoration: underline; } + .suggested-searches { + display: flex; + flex-wrap: wrap; + gap: 8px; + } + + .suggested-search-btn { + padding: 8px 16px; + background: #f0f0f0; + border: 1px solid #ddd; + border-radius: 20px; + cursor: pointer; + font-size: 0.9rem; + transition: all 0.2s; + color: #333; + } + + .suggested-search-btn:hover { + background: #667eea; + color: white; + border-color: #667eea; + } + /* Cost Breakdown Styles */ .cost-breakdown-details { margin-top: 10px; @@ -556,6 +579,11 @@
No suggested searches available
'; + } + // Display cost breakdown const costTableBody = document.getElementById('costTableBody'); costTableBody.innerHTML = ''; diff --git a/src/services/openRouterService.js b/src/services/openRouterService.js index d8b22a9..98f0353 100644 --- a/src/services/openRouterService.js +++ b/src/services/openRouterService.js @@ -162,7 +162,7 @@ export async function summarizeFinalAnswer({ openrouter, text, question }) { You are a search result analyst. Today is the date of ${new Date().toLocaleDateString()}. Based on the following search results for the query "${question}", Summarize the search results to answer the original query. Use Emoji and HTML. Tags allowed: , , ,,