[Enhancement]: custom endpoint implementation with openai responses api not compatible with anthropic native web search #13926
What features would you like to see added?this is my custom endpoint definition, it's using claude models via google's vertex ai through portkey gateway I found that native web search tool not working so I did my own research, looks like librechat's custom endpoint is using openai responses api, logs i captured looks like below If I use anthropic endpoint with google vertex ai as provider, it works, the logs look like this More detailsfrom above logs capturing and comparison, I think this is librechat's custom endpoint SDK issue, to invoke anthropic native web search tool, it expects messages instead inputs, can we use anthropic SDK instead of openai sdk for example, using anthropic sdk would work like this Which components are impacted by your request?No response PicturesNo response Code of Conduct
|
Replies: 3 comments 3 replies
|
@danny-avila is it not a valid feature request? let me know if this is already working but somehow I misconfigured it, also I forgot to mention, custom endpoint with google gemini models also not working properly for "Grounding with Google Search" feature, I am not sure if this is a similar issue |
ok, this was indeed already implemented, web search is working for me now using 0.8.7-rc1 version with
provider: 'anthropic'in the custom endpoint definition, @danny-avila do you have a plan to implementprovider: 'gemini'for custom endpoint?