Update core/ports.py
Browse files- core/ports.py +2 -2
core/ports.py
CHANGED
|
@@ -62,11 +62,11 @@ class LLMProvider(Protocol):
|
|
| 62 |
"""Generate the system/user prompt context for starting a session."""
|
| 63 |
...
|
| 64 |
|
| 65 |
-
def psychiatrist_response(self, context: list, patient_info: dict = None) -> LLM1Output:
|
| 66 |
"""Generate a conversational response mimicking a psychiatrist (LLM1 fast path)."""
|
| 67 |
...
|
| 68 |
|
| 69 |
-
def internal_reasoning(self, context: list) -> LLM2Output:
|
| 70 |
"""Perform a deep psychological analysis of the conversation history (LLM2 slow path)."""
|
| 71 |
...
|
| 72 |
|
|
|
|
| 62 |
"""Generate the system/user prompt context for starting a session."""
|
| 63 |
...
|
| 64 |
|
| 65 |
+
def psychiatrist_response(self, context: list, patient_info: dict = None, medium_term_memory: str | None = None) -> LLM1Output:
|
| 66 |
"""Generate a conversational response mimicking a psychiatrist (LLM1 fast path)."""
|
| 67 |
...
|
| 68 |
|
| 69 |
+
def internal_reasoning(self, context: list, stable_prefix: str | None = None) -> LLM2Output:
|
| 70 |
"""Perform a deep psychological analysis of the conversation history (LLM2 slow path)."""
|
| 71 |
...
|
| 72 |
|