(question: str)
| 4212 | normalized_question = str(question or "").strip().lower() |
| 4213 | if resolved_mentions or "@" in normalized_question: |
| 4214 | return "wiki", "explicit_mention" |
| 4215 | if normalized_scope in {"recent", "profile"}: |
| 4216 | return "wiki", f"scope_{normalized_scope}" |
| 4217 | if any(term in normalized_question for term in _LOCAL_WIKI_TERMS): |
| 4218 | return "wiki", "local_research_context" |
| 4219 | if normalized_question.startswith(_DIRECT_STARTERS): |
| 4220 | return "direct", "general_question" |
| 4221 | return "direct", "no_local_context_signal" |
no outgoing calls
no test coverage detected