Closed dhairya13703 closed 22 hours ago
Okay got it. But we can do it like if we we select amazon bedrock we will have more parameters so that way user can enter it.
Seems like you are pushing more things in same branch that are unrelated. Should I close this PR?
There is already PR for badrock here https://github.com/coleam00/bolt.new-any-llm/pull/324
And it hit an issue where bedrock will be shown but there is no way to set it up in client. Aka client ui for now allows only setting up api key. Bedrock requires more parameters.
I did give it a try to fix in number of ways. But its bit tricky.
I think I will give it a try later myself.
Seems like we need to make provider in the list dependant on presence of API keys on server for now.
Or, allow more complex UI for some providers that allows to add more then just field in UI/API key settings.
Both are bit tricky refactors.
I don't really want to show not working providers on client if API key was not set for them on server and is not possible to set from client.