sunholo 0.71.20__py3-none-any.whl → 0.71.21__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -188,13 +188,6 @@ class VertexAIExtensions:
188
188
  operation_id="generate_and_execute",
189
189
  operation_params=operation_params)
190
190
 
191
- if 'output_files' in response:
192
- self.CODE_INTERPRETER_WRITTEN_FILES.extend(
193
- [item['name'] for item in response['output_files']])
194
-
195
- if 'output_gcs_uris' in response:
196
- self.CODE_INTERPRETER_WRITTEN_FILES.extend(response['output_gcs_uris'])
197
-
198
191
  if response.get('execution_error'):
199
192
  #TODO: setup iteration many times with a timeout
200
193
  log.error(f"Code Execution Response failed with: {response.get('execution_error')} - maybe retry?")
@@ -210,10 +203,15 @@ Please try again again to satisfy the original query.
210
203
  operation_id="generate_and_execute",
211
204
  operation_params=operation_params)
212
205
 
213
- self.CODE_INTERPRETER_WRITTEN_FILES.extend([item['name'] for item in response['output_files']])
214
206
  if response.get('execution_error'):
215
207
  log.error(f"Code Execution Response failed twice: {response.get('execution_error')}")
216
208
 
209
+ if 'output_files' in response:
210
+ self.CODE_INTERPRETER_WRITTEN_FILES.extend(
211
+ [item['name'] for item in response['output_files']])
212
+
213
+ if 'output_gcs_uris' in response:
214
+ self.CODE_INTERPRETER_WRITTEN_FILES.extend(response['output_gcs_uris'])
217
215
 
218
216
  return response
219
217
 
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sunholo
3
- Version: 0.71.20
3
+ Version: 0.71.21
4
4
  Summary: Large Language Model DevOps - a package to help deploy LLMs to the Cloud.
5
5
  Home-page: https://github.com/sunholo-data/sunholo-py
6
- Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.71.20.tar.gz
6
+ Download-URL: https://github.com/sunholo-data/sunholo-py/archive/refs/tags/v0.71.21.tar.gz
7
7
  Author: Holosun ApS
8
8
  Author-email: multivac@sunholo.com
9
9
  License: Apache License, Version 2.0
@@ -111,13 +111,13 @@ sunholo/utils/user_ids.py,sha256=SQd5_H7FE7vcTZp9AQuQDWBXd4FEEd7TeVMQe1H4Ny8,292
111
111
  sunholo/utils/version.py,sha256=P1QAJQdZfT2cMqdTSmXmcxrD2PssMPEGM-WI6083Fck,237
112
112
  sunholo/vertex/__init__.py,sha256=XH7FUKxdIgN9H2iDcWxL3sRnVHC3297G24RqEn4Ob0Y,240
113
113
  sunholo/vertex/extensions.py,sha256=d-Ikt9gHFf-jUMPmyU-xHwYe22QtEyr90Ua1LDKgTws,11026
114
- sunholo/vertex/extensions_class.py,sha256=TzXiQS1fO3X75_quXs7Pk9IE9WQdvkdK-RZBJCfKldc,12164
114
+ sunholo/vertex/extensions_class.py,sha256=BXG-abrNKb8933HjTT_J4KT1se7a6Fa44i88X2CmJ9c,12046
115
115
  sunholo/vertex/init.py,sha256=-w7b9GKsyJnAJpYHYz6_zBUtmeJeLXlEkgOfwoe4DEI,2715
116
116
  sunholo/vertex/memory_tools.py,sha256=FLTbNX_YbpxxUxZHAsXEihlUgLELfLOfxsdEkwDm_GI,6546
117
117
  sunholo/vertex/safety.py,sha256=S9PgQT1O_BQAkcqauWncRJaydiP8Q_Jzmu9gxYfy1VA,2482
118
- sunholo-0.71.20.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
119
- sunholo-0.71.20.dist-info/METADATA,sha256=gtkx2Ic36DHa2v2XqCfMd2OuseDSK-LLFzDjln36PeY,6767
120
- sunholo-0.71.20.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
121
- sunholo-0.71.20.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
122
- sunholo-0.71.20.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
123
- sunholo-0.71.20.dist-info/RECORD,,
118
+ sunholo-0.71.21.dist-info/LICENSE.txt,sha256=SdE3QjnD3GEmqqg9EX3TM9f7WmtOzqS1KJve8rhbYmU,11345
119
+ sunholo-0.71.21.dist-info/METADATA,sha256=LowZcjuxiXN__wJyFBCHsq3HLC7_R1fB9GysSgIGaJE,6767
120
+ sunholo-0.71.21.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
121
+ sunholo-0.71.21.dist-info/entry_points.txt,sha256=bZuN5AIHingMPt4Ro1b_T-FnQvZ3teBes-3OyO0asl4,49
122
+ sunholo-0.71.21.dist-info/top_level.txt,sha256=wt5tadn5--5JrZsjJz2LceoUvcrIvxjHJe-RxuudxAk,8
123
+ sunholo-0.71.21.dist-info/RECORD,,