mirror of
https://github.com/VinciGit00/Scrapegraph-ai.git
synced 2026-06-23 21:00:30 +08:00
Fixed model ID -> model name conversion
This commit is contained in:
parent
d0a301d3c3
commit
3ffa896c39
@ -100,8 +100,7 @@ class RobotsNode(BaseNode):
|
||||
self.llm_model.model_name = self.llm_model.model_name.split("/")[-1]
|
||||
model = self.llm_model.model_name.split("/")[-1]
|
||||
elif hasattr(self.llm_model, "model_id"): # Bedrock uses model IDs, not model names
|
||||
self.llm_model.model_name = self.llm_model.model_id.split("/")[-1]
|
||||
model = self.llm_model.model_name
|
||||
model = self.llm_model.model_id.split("/")[-1]
|
||||
else:
|
||||
model = self.llm_model.model_name
|
||||
try:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user