Skip to content

Commit 6eb3c8f

Browse files
Testclaude
andcommitted
fix: set from_market=True after successful results→roles normalization
After _normalize_api_response converted results→roles, from_market was not set to True, so auto-submit shortlist never triggered. Candidates were normalized but never sent to CEO. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a139cce commit 6eb3c8f

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@1mancompany/onemancompany",
3-
"version": "0.4.60",
3+
"version": "0.4.61",
44
"description": "The AI Operating System for One-Person Companies",
55
"bin": {
66
"onemancompany": "bin/cli.js"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "onemancompany"
3-
version = "0.4.60"
3+
version = "0.4.61"
44
description = "A one-man company simulation with pixel art visualization and LangChain AI agents"
55
requires-python = ">=3.12"
66
dependencies = [

src/onemancompany/agents/recruitment.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,9 @@ async def search_candidates(job_description: str) -> dict:
547547
logger.warning("[recruitment] Non-AI search returned no roles (keys={}), falling back to local", list(grouped.keys())[:10])
548548
market_warning = f"AI search unavailable ({err_msg}). Standard search returned no results. Using local talent pool."
549549
grouped = _local_fallback_search(job_description)
550+
else:
551+
market_warning = f"AI search unavailable ({err_msg}). Showing standard search results."
552+
from_market = True
550553
else:
551554
market_warning = f"AI search unavailable ({err_msg}). Showing standard search results."
552555
from_market = True

0 commit comments

Comments
 (0)