Skip to content

100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.

Fix release_radar version extraction and customer-support voice model (#1020)

Thejeshe46d6feaeacf
diff --git a/always_on_agents/release_radar_agent/radar.py b/always_on_agents/release_radar_agent/radar.py
index 72956fbf..9d67e05b 100644
--- a/always_on_agents/release_radar_agent/radar.py
+++ b/always_on_agents/release_radar_agent/radar.py
@@ -64,7 +64,9 @@ def _normalize_name(name: str) -> str:
def _extract_version(specifier: str) -> str | None:
matches = VERSION_PATTERN.findall(specifier)
- return matches[-1] if matches else None
+ # Specifiers put the pinned/lower bound first ("==1.2.3", ">=1.2.3,<2.0.0"),
+ # so the last match is the exclusive upper bound, not the installed version.
+ return matches[0] if matches else None
def _github_repo_from_spec(specifier: str) -> str | None:
diff --git a/voice_ai_agents/customer_support_voice_agent/customer_support_voice_agent.py b/voice_ai_agents/customer_support_voice_agent/customer_support_voice_agent.py
index 8dad004a..c4f0f326 100644
--- a/voice_ai_agents/customer_support_voice_agent/customer_support_voice_agent.py
+++ b/voice_ai_agents/customer_support_voice_agent/customer_support_voice_agent.py
@@ -237,7 +237,7 @@ def setup_agents(openai_api_key: str):
4. Keep the tone professional but friendly
5. Use appropriate pauses for better comprehension
6. Ensure the speech is clear and well-articulated""",
- model="gpt-4o-mini-tts"
+ model="gpt-4o"
)
return processor_agent, tts_agent