Skip to content

Commit 8ee06f6

Browse files
Merge branch 'main' into issue-18
2 parents 5325c82 + 56d3764 commit 8ee06f6

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,15 @@ client.datasources.drop('my_datasource')
149149
```
150150
>Note: The SDK currently does not support automatically removing a data source if it is no longer connected to any mind.
151151
152-
### Other SDKs
152+
### Community Supported SDKs
153+
154+
- [Java-SDK](https://github.com/Better-Boy/minds-java-sdk)
153155
- [Ruby-SDK](https://github.com/tungnt1203/minds_ruby_sdk)
154156
- [Dart-SDK](https://github.com/ArnavK-09/mdb_dart)
155157
- [Javascript](https://github.com/scshiv29-dev/mindsbd_sdk_js)
158+
- [C# SDK](https://github.com/priyanshuverma-dev/Minds.SDK)
159+
- [Go SDK](https://github.com/Abiji-2020/minds-go-sdk)
156160

157161
#### Command Line Tools
158162
- [Minds CLI](https://github.com/Better-Boy/minds-cli-sdk)
159163

160-

minds/minds.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,20 @@ def update(
120120
f'/projects/{self.project}/minds/{self.name}',
121121
data=data
122122
)
123+
123124
if name is not None and name != self.name:
124125
self.name = name
125126

127+
refreshed_mind = self.client.minds.get(self.name)
128+
self.model_name = refreshed_mind.model_name
129+
self.provider = refreshed_mind.provider
130+
self.prompt_template = refreshed_mind.prompt_template
131+
self.parameters = refreshed_mind.parameters
132+
self.created_at = refreshed_mind.created_at
133+
self.updated_at = refreshed_mind.updated_at
134+
self.datasources = refreshed_mind.datasources
135+
136+
126137
def add_datasource(self, datasource: Datasource):
127138
"""
128139
Add datasource to mind

0 commit comments

Comments
 (0)