You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep the original casing of model name for custom endpoint to enable Foundry Local (#413)
This PR contains the following 2 fixes:
1. Keep the original casing of the model's name for custom endpoint configuration.
2. Fix the error reporting to handle exception messages that already contains newline at the end.
OpenAI models require lower case for their names, but the custom endpoint may be case-sensitive, such as the endpoint set up by Foundry Local. So, we should keep the original casing for custom endpoint configurations.
0 commit comments