File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ ## 1.0.15
2+
3+ ### Fixes
4+
5+ * ** Fix bedrock embedder precheck**
6+
17## 1.0.14
28
39### Enhancements
Original file line number Diff line number Diff line change 1- __version__ = "1.0.14 " # pragma: no cover
1+ __version__ = "1.0.15 " # pragma: no cover
Original file line number Diff line number Diff line change @@ -96,8 +96,8 @@ def run_precheck(self) -> None:
9696 try :
9797 model_info = client .list_foundation_models (byOutputModality = "EMBEDDING" )
9898 summaries = model_info .get ("modelSummaries" , [])
99- model_ids = [m ["modelId" ]. split ( ":" )[ 0 ] for m in summaries ]
100- arns = [":" .join (m ["modelArn" ]. split ( ":" )[ 0 : - 1 ] ) for m in summaries ]
99+ model_ids = [m ["modelId" ] for m in summaries ]
100+ arns = [":" .join (m ["modelArn" ]) for m in summaries ]
101101
102102 if self .embedder_model_name not in model_ids and self .embedder_model_name not in arns :
103103 raise UserError (
You can’t perform that action at this time.
0 commit comments