fix(langchain): use unified endpoint for gateway (#11369)