File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def _default_bot() -> Bot:
5252 )
5353
5454 try :
55- from .openai_api import threads_bot
55+ from .openai_api import new_threads_bot
5656
5757 except ImportError :
5858 raise RuntimeError (
@@ -65,4 +65,4 @@ def _default_bot() -> Bot:
6565 )
6666 )
6767 else :
68- return threads_bot ()
68+ return new_threads_bot ()
Original file line number Diff line number Diff line change 1212* https://github.com/openai/openai-python/blob/main/src/openai/resources/beta/threads/runs/runs.py
1313"""
1414
15- from .assistants import threads_bot
16- from .completions import completions_bot
15+ from .assistants import new_threads_bot
16+ from .completions import new_completions_bot
1717
1818
1919__all__ = [
20- "completions_bot " ,
21- "threads_bot " ,
20+ "new_completions_bot " ,
21+ "new_threads_bot " ,
2222]
Original file line number Diff line number Diff line change 2020_logger = logging .getLogger (__name__ )
2121
2222
23- def threads_bot (
23+ def new_threads_bot (
2424 api_key : str | None = None ,
2525 base_url : str | None = None ,
2626 model : str = "gpt-4o" ,
Original file line number Diff line number Diff line change 1111from .common import ToolHandler , ToolsFactory , new_client
1212
1313
14- def completions_bot (
14+ def new_completions_bot (
1515 api_key : str | None = None ,
1616 base_url : str | None = None ,
1717 model : str = "gpt-4o" ,
You can’t perform that action at this time.
0 commit comments