File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88from mellea .backends .vllm import LocalVLLMBackend
99from mellea .backends .types import ModelOption
1010import mellea .backends .model_ids as model_ids
11- from mellea .stdlib .base import CBlock , LinearContext , SimpleContext
11+ from mellea .stdlib .base import CBlock , ChatContext , SimpleContext
1212from mellea .stdlib .requirement import (
1313 LLMaJRequirement ,
1414 Requirement ,
@@ -36,7 +36,7 @@ def backend():
3636@pytest .fixture (scope = "function" )
3737def session (backend ):
3838 """Fresh HuggingFace session for each test."""
39- session = MelleaSession (backend , ctx = LinearContext ())
39+ session = MelleaSession (backend , ctx = ChatContext ())
4040 yield session
4141 session .reset ()
4242
Original file line number Diff line number Diff line change 77from mellea .backends .vllm import LocalVLLMBackend
88from mellea .backends .types import ModelOption
99import mellea .backends .model_ids as model_ids
10- from mellea .stdlib .base import CBlock , LinearContext
10+ from mellea .stdlib .base import CBlock , ChatContext
1111from mellea .stdlib .requirement import (
1212 LLMaJRequirement ,
1313 Requirement ,
@@ -34,7 +34,7 @@ def backend():
3434@pytest .fixture (scope = "function" )
3535def session (backend ):
3636 """Fresh HuggingFace session for each test."""
37- session = MelleaSession (backend , ctx = LinearContext ())
37+ session = MelleaSession (backend , ctx = ChatContext ())
3838 yield session
3939 session .reset ()
4040
You can’t perform that action at this time.
0 commit comments