File tree Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Expand file tree Collapse file tree 4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 1313from concurrent .futures import ThreadPoolExecutor
1414
1515# Import the LiteLLM wrapper
16- from litellm_wrapper import LiteLLMWrapper
16+ from optillm . litellm_wrapper import LiteLLMWrapper
1717
1818# Import approach modules
1919from optillm .mcts import chat_with_mcts
Original file line number Diff line number Diff line change 1+ from importlib import util
2+ import os
3+
4+ # Get the path to the root optillm.py
5+ spec = util .spec_from_file_location (
6+ "optillm.root" ,
7+ os .path .join (os .path .dirname (os .path .dirname (__file__ )), "optillm.py" )
8+ )
9+ module = util .module_from_spec (spec )
10+ spec .loader .exec_module (module )
11+
12+ # Export the main function
13+ main = module .main
File renamed without changes.
Original file line number Diff line number Diff line change 22
33setup (
44 name = "optillm" ,
5- version = "0.0.4 " ,
5+ version = "0.0.5 " ,
66 packages = find_packages (),
77 py_modules = ['optillm' ],
88 install_requires = [
You can’t perform that action at this time.
0 commit comments