From 3d6a6cfdc9b0511ba27074adc5692a598b4f23de Mon Sep 17 00:00:00 2001 From: jae Date: Wed, 15 Apr 2026 07:47:16 +0000 Subject: [PATCH] feat: switch Venice AI model to glm-4.7-flash-heretic, inline clickable source links in SITREP --- api/data/apikeys.json | 2 +- api/data/chat_config.json | 2 +- api/sitrep_generator.py | 11 +++++++---- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/api/data/apikeys.json b/api/data/apikeys.json index 2d9e4fb..50be766 100644 --- a/api/data/apikeys.json +++ b/api/data/apikeys.json @@ -36,6 +36,6 @@ }, "venice": { "api_key": "VENICE_ADMIN_KEY_xSnxLlHxPGk4BUPzSmHVpLO3xLvKD-MadtwH-xZuUG", - "model": "venice-uncensored-1-2" + "model": "olafangensan-glm-4.7-flash-heretic" } } \ No newline at end of file diff --git a/api/data/chat_config.json b/api/data/chat_config.json index 41a1c0f..b3f3b3d 100644 --- a/api/data/chat_config.json +++ b/api/data/chat_config.json @@ -1,6 +1,6 @@ { "display_name": "JAE-AI", - "model": "venice-uncensored-1-2", + "model": "olafangensan-glm-4.7-flash-heretic", "system_prompt_summary": "AI assistant for jaeswift.xyz, knows all site sections and services", "max_history": 20, "auto_greeting": true, diff --git a/api/sitrep_generator.py b/api/sitrep_generator.py index cd8471e..1849ff6 100644 --- a/api/sitrep_generator.py +++ b/api/sitrep_generator.py @@ -258,13 +258,17 @@ Format the SITREP in markdown with the following EXACT structure: ## SECTOR ALPHA — TECHNOLOGY -Summarise the top 8-10 most significant technology stories. Group loosely by theme (AI/ML, infrastructure, programming languages, open source, industry moves). Each item should be 1-2 sentences max. Use bullet points. Prioritise stories by significance and novelty. After each bullet point, on a new line add a small source link in this exact format: ` *[source — read more](URL)*` using the Link URL provided in the raw data. +Summarise the top 8-10 most significant technology stories. Group loosely by theme (AI/ML, infrastructure, programming languages, open source, industry moves). Each item should be 1-2 sentences max. Use bullet points. Prioritise stories by significance and novelty. Format each bullet with the source name as a clickable link followed by the story text, like this: +- **[Hacker News](URL)** Story summary here in 1-2 sentences. +- **[Reddit](URL)** Another story summary here. --- ## SECTOR BRAVO — CYBERSECURITY -Summarise any cybersecurity-related stories. Include CVEs, breaches, new tools, threat intel. If few dedicated security stories, note the relatively quiet SIGINT environment. 4-8 items. After each bullet point, on a new line add a small source link in this exact format: ` *[source — read more](URL)*` using the Link URL provided in the raw data. +Summarise any cybersecurity-related stories. Include CVEs, breaches, new tools, threat intel. If few dedicated security stories, note the relatively quiet SIGINT environment. 4-8 items. Format each bullet with the source name as a clickable link followed by the story text, like this: +- **[r/netsec](URL)** Story summary here. +- **[Lobsters](URL)** Another story summary here. --- @@ -289,8 +293,7 @@ Rules: - If data is sparse for a sector, acknowledge it briefly - Use markdown formatting (headers, bold, bullets, horizontal rules) - Include the exact crypto prices provided — do not round them differently -- For each tech/security story, mention the source in brackets like [HN] [Reddit] [Lobsters] -- CRITICAL: After EVERY bullet point story in SECTOR ALPHA and SECTOR BRAVO, include the original source link on a NEW indented line formatted exactly as: *[source — read more](URL)* +- CRITICAL: For EVERY bullet point in SECTOR ALPHA and SECTOR BRAVO, the source name MUST be a clickable markdown link using the URL from the raw data: **[Source Name](URL)** followed by the story text - Use the Link URLs provided in the raw intelligence data — NEVER invent or guess URLs"""