File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 8181try :
8282 from .proxy import create_app , AuthProvider , AccountInfo
8383except ImportError :
84- create_app = None
85- AuthProvider = None
86- AccountInfo = None
84+
85+ def _proxy_import_error (* args , ** kwargs ):
86+ raise ImportError (
87+ "Proxy functionality requires additional dependencies. "
88+ "Please install with: pip install eval-protocol[proxy]"
89+ )
90+
91+ create_app = _proxy_import_error
92+ AuthProvider = _proxy_import_error
93+ AccountInfo = _proxy_import_error
8794
8895
8996warnings .filterwarnings ("default" , category = DeprecationWarning , module = "eval_protocol" )
Original file line number Diff line number Diff line change @@ -142,6 +142,12 @@ langgraph_tools = [
142142 " langchain-fireworks>=0.3.0" ,
143143]
144144
145+ proxy = [
146+ " redis>=5.0.0" ,
147+ " langfuse>=2.0.0" ,
148+ " uuid6>=2025.0.0" ,
149+ ]
150+
145151[project .scripts ]
146152fireworks-reward = " eval_protocol.cli:main"
147153eval-protocol = " eval_protocol.cli:main"
You can’t perform that action at this time.
0 commit comments