MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / _merge_feature_text

Function _merge_feature_text

uncommon_route/router/classifier.py:42–46  ·  view source on GitHub ↗
(prompt: str, system_prompt: str | None = None)

Source from the content-addressed store, hash-verified

40
41
42def _merge_feature_text(prompt: str, system_prompt: str | None = None) -> str:
43 system = str(system_prompt or "").strip()
44 if not system:
45 return prompt
46 return f"{system}\n\n{prompt}"
47
48
49def _get_online_model_path() -> Path:

Callers 3

_extract_all_featuresFunction · 0.85
train_and_save_modelFunction · 0.85
classifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected