Autonomous AI sales agent powered by Claude Code or Codex. Finds prospects, writes cold emails, sends campaigns, handles replies, books meetings. No API keys needed — runs on your Claude or Codex subscriptions.
Require state/country qualifiers for geography to prevent silent geocoding failures
RIG Teamf0ebbb63eef4
diff --git a/harvey/setup.py b/harvey/setup.pyindex aec9b29..0fdcf9a 100644--- a/harvey/setup.py+++ b/harvey/setup.py@@ -319,7 +319,12 @@ class SetupWizard:titles = [t.strip() for t in titles if t.strip()]company_size = _ask("Target company size", default="10-200 employees")- geography = _ask("Target geography", default="United States").split(",")+ geography = _ask(+ "Target geography (for a city, include the state/country, "+ "e.g. 'Solon, Ohio' — an unqualified city name can silently "+ "geocode to the wrong place)",+ default="United States",+ ).split(",")geography = [g.strip() for g in geography if g.strip()]_print_harvey("Now let's talk about your offer — what happens when someone's interested?\n")diff --git a/harvey/trainer.py b/harvey/trainer.pyindex 8ab6324..c7833f6 100644--- a/harvey/trainer.py+++ b/harvey/trainer.py@@ -496,6 +496,13 @@ Return as JSON:"disqualifiers": ["signals that someone is NOT a good fit 1", "disqualifier 2"]}}+For any city in "geography", always include the state/province and country if+the name could plausibly refer to more than one place — write "Solon, Ohio"+not "Solon" (there's also a Solon in France), "Springfield, Illinois" not+"Springfield" (30+ US cities share that name). These strings get geocoded+automatically for local-business discovery, and an unqualified name silently+resolves to the wrong place on Earth instead of failing loudly.+Be specific — don't guess generically. Base this on what the website actually says about their customers."""result = await self.brain.think_json(prompt, session_id="harvey-trainer")