(prompt: str, system_prompt: str | None = None)
| 40 | |
| 41 | |
| 42 | def _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 | |
| 49 | def _get_online_model_path() -> Path: |
no outgoing calls
no test coverage detected