Skip to content

Commit a8bae85

Browse files
Rename file and factory method.
1 parent c6aada9 commit a8bae85

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

singlestoredb/ai/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from .chat import SingleStoreChatFactory # noqa: F401
2-
from .debug import SingleStoreChatFactoryDebug # noqa: F401
2+
from .debugv2 import SingleStoreChatFactoryDebugV2 # noqa: F401
33
from .embeddings import SingleStoreEmbeddingsFactory # noqa: F401

singlestoredb/ai/debug.py renamed to singlestoredb/ai/debugv2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
from botocore.config import Config
3232

3333

34-
def SingleStoreChatFactoryDebug(
34+
def SingleStoreChatFactoryDebugV2(
3535
model_name: str,
3636
api_key: Optional[Union[Optional[str], Callable[[], Optional[str]]]] = None,
3737
streaming: bool = True,
@@ -212,7 +212,7 @@ def auth_flow(
212212
# OpenAI / Azure OpenAI path
213213
openai_kwargs = dict(
214214
base_url=info.connection_url,
215-
# api_key='placeholder',
215+
api_key='placeholder',
216216
model=model_name,
217217
streaming=streaming,
218218
http_client=http_client,

0 commit comments

Comments
 (0)