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
tiero
changed the title
browser: when domain is NOT set the Chat playground make the request to wrong path endpoint
browser: when domain is NOT set the Chat makes the request to wrong path
Nov 3, 2023
tiero
changed the title
browser: when domain is NOT set the Chat makes the request to wrong path
browser: when domain is NOT playgrounds make the request to wrong path
Nov 3, 2023
tiero
changed the title
browser: when domain is NOT playgrounds make the request to wrong path
browser: playgrounds make the request to wrong path
Nov 3, 2023
When testing in localhost with docker-compose, it seems to not take into account localhost, and default to the IP address of my home router LAN.
This is only helpful for development, so not sure if we need to add extra rule in frontend to check for localhost to not consider whatever the daemon is returning to us
I am using browser with gateway and domain NOT set
Chat
It's doing a POST to
/v1/chat/completions
instead it should have been/llama-2-13b-chat/v1/chat/completions
Also, the playground URL is undefined in the bar
![image](https://private-user-images.githubusercontent.com/3596602/280167046-7852a539-e6a3-4963-9783-bcc07e95404b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5ODAwMjIsIm5iZiI6MTcyNTk3OTcyMiwicGF0aCI6Ii8zNTk2NjAyLzI4MDE2NzA0Ni03ODUyYTUzOS1lNmEzLTQ5NjMtOTc4My1iY2MwN2U5NTQwNGIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MTBUMTQ0ODQyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWM0ZTU1NWNjYTY1MTAzZjYwYWY2ZWI3MGUzMTJjZGUwMTZiYzZhMzFmNTJmNDMyMzEzNjQ0YzdiNDY5YTI3NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.AHVqOKZLhg_pLtTgKZhTeCdx8V3ImDJglyC-0pMxZi8)
Image
/prem-image/stable-diffusion-xl/undefined/v1/images/generations
instead of
/stable-diffusion-xl/v1/images/generations
The text was updated successfully, but these errors were encountered: