Skip to content

New llm clients do not allow reference tokens #90

@radu-mocanu

Description

@radu-mocanu

The problem is at this line.
A UiPath Coded Agent can also work with reference tokens: rt_123....
Please fix the validation

File "/../.venv/lib/python3.14/site-packages/pydantic/main.py", line 263, in __init__
    validated_self = self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for PlatformSettings
  Value error, Invalid access token: expected JWT with at least 2 dot-separated parts [type=value_error, input_value={'UIPATH_ACCESS_TOKEN': '...'}, input_type=dict]
    For further information visit https://errors.pydantic.dev/2.13/v/value_error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions