Skip to content

Use LLM.from_url for llm_server_url in adapter#278

Open
amathxbt wants to merge 1 commit intoOpenGradient:mainfrom
amathxbt:patch-1
Open

Use LLM.from_url for llm_server_url in adapter#278
amathxbt wants to merge 1 commit intoOpenGradient:mainfrom
amathxbt:patch-1

Conversation

@amathxbt
Copy link
Copy Markdown
Contributor

Fixes the llm_server_url path in the LangChain adapter by using LLM.from_url when llm_server_url is provided. This prevents TypeError caused by passing llm_server_url to LLM.init().

Fixes the llm_server_url path in the LangChain adapter by using LLM.from_url when llm_server_url is provided. This prevents TypeError caused by passing llm_server_url to LLM.__init__().

Signed-off-by: AMATH <116212274+amathxbt@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant