File:
src/opengradient/agents/og_langchain.py (lines 185–190)
src/opengradient/agents/init.py (line 42)
The code accepts llm_server_url as input and passes it to LLM().
But LLM() does not support this parameter.
OpenGradientChatModel and langchain_adapter take llm_server_url
They send it to LLM()
But LLM() only accepts:
private_key
rpc_url
tee_registry_address
It throws an error
Error: TypeError: init() got an unexpected keyword argument 'llm_server_url'
If a developer tries to use llm_server_url, it will not work.
To use llm_server_url, the code should call:
LLM.from_url(private_key, llm_server_url)
File:
src/opengradient/agents/og_langchain.py (lines 185–190)
src/opengradient/agents/init.py (line 42)
The code accepts llm_server_url as input and passes it to LLM().
But LLM() does not support this parameter.
OpenGradientChatModel and langchain_adapter take llm_server_url
They send it to LLM()
But LLM() only accepts:
private_key
rpc_url
tee_registry_address
It throws an error
Error: TypeError: init() got an unexpected keyword argument 'llm_server_url'
If a developer tries to use llm_server_url, it will not work.
To use llm_server_url, the code should call:
LLM.from_url(private_key, llm_server_url)