Skip to content

Commit af28b1f

Browse files
authored
Merge pull request #127 from mindsdb/create-mind-make-model-optional
Make `model` arg optional for `create_mind`
2 parents 99c8970 + ec3fc18 commit af28b1f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mindsdb_sdk/utils/mind.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import Optional
2+
13
import requests
24
from logging import getLogger
35

@@ -18,12 +20,11 @@ def __init__(self, name):
1820
def create_mind(
1921
base_url: str,
2022
api_key: str,
21-
2223
name: str,
2324
description: str,
24-
model: str,
2525
data_source_type: str,
2626
data_source_connection_args: dict,
27+
model: Optional[str] = None,
2728
) -> Mind:
2829
"""
2930
Create a mind entity in LiteLLM proxy.

0 commit comments

Comments
 (0)