For all of our UiPath LangChain agents, we are using the standard UiPathChat for our LLM models in agents. After upgrading from version 0.9.24, to version v0.10.15 of uipath-langchain, we are consistently getting errors such as this one when debugging our agents in local sessions:
HTTP Request: GET https://cloud.uipath.com/ingka/GlobalTest/agenthub_/llm/api/capabilities "HTTP/1.1 200 OK"
HTTP Request: POST https://cloud.uipath.com/ingka/GlobalTest/agenthub_/llm/api/chat/completions "HTTP/1.1 403 Forbidden"
❌ Error: Unexpected error occurred - Error: UiPathPermissionDeniedError: Forbidden (Status Code: 403) None
Traceback (most recent call last):
File "C:\GIT\rpa-augmented-operations\uipath-coded-agents\ask-lattjo\.venv\Lib\site-packages\uipath\llm_client\utils\exceptions.py", line 254, in raise_for_status
original_raise_for_status()
File "C:\GIT\rpa-augmented-operations\uipath-coded-agents\ask-lattjo\.venv\Lib\site-packages\httpx\_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Client error '403 Forbidden' for url '[https://cloud.uipath.com/ingka/GlobalTest/agenthub_/llm/api/chat/completions'](https://cloud.uipath.com/ingka/GlobalTest/agenthub_/llm/api/chat/completions%27)
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
Are there any breaking changes between these versions of uipath-langchain in terms of how to get our LLM calls authenticated that are not documented anywhere? This happens consistently when setting up new projects and running them according to the quickstart guide too. When we downgrade to older versions of the library, we do not get this error.
And follow-up question to that: Are there any plans from UiPaths side to use semantic versioning correctly to signal when breaking changes are made in releases for uipath-langchain?
For all of our UiPath LangChain agents, we are using the standard
UiPathChatfor our LLM models in agents. After upgrading from version 0.9.24, to version v0.10.15 ofuipath-langchain, we are consistently getting errors such as this one when debugging our agents in local sessions:Are there any breaking changes between these versions of uipath-langchain in terms of how to get our LLM calls authenticated that are not documented anywhere? This happens consistently when setting up new projects and running them according to the quickstart guide too. When we downgrade to older versions of the library, we do not get this error.
And follow-up question to that: Are there any plans from UiPaths side to use semantic versioning correctly to signal when breaking changes are made in releases for uipath-langchain?