Skip to content

Commit 3afb984

Browse files
sebstoCopilot
andauthored
Update swift-bedrock-library/Sources/BedrockService/InvokeModel/BedrockService+InvokeModelText.swift
Co-authored-by: Copilot <[email protected]>
1 parent 4a97857 commit 3afb984

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

swift-bedrock-library/Sources/BedrockService/InvokeModel/BedrockService+InvokeModelText.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ extension BedrockService {
131131
return try invokemodelResponse.getTextCompletion()
132132
} catch {
133133
try handleCommonError(error, context: "listing foundation models")
134-
throw BedrockServiceError.unknownError("\(error)") // FIXME: handleCommonError will always throw
135134
}
136135
}
137136
}

0 commit comments

Comments
 (0)