diff --git a/packages/uipath-claude-sdk/template/entry-points.json b/packages/uipath-claude-sdk/template/entry-points.json index a7ef1fc5..575f1179 100644 --- a/packages/uipath-claude-sdk/template/entry-points.json +++ b/packages/uipath-claude-sdk/template/entry-points.json @@ -10,14 +10,12 @@ "type": "object", "properties": { "city": { + "default": "London", "description": "City to report the weather for, e.g. 'London'.", "title": "City", "type": "string" } }, - "required": [ - "city" - ], "title": "WeatherRequest" }, "output": { diff --git a/packages/uipath-claude-sdk/template/main.py b/packages/uipath-claude-sdk/template/main.py index ed7e9aad..9da50ab0 100644 --- a/packages/uipath-claude-sdk/template/main.py +++ b/packages/uipath-claude-sdk/template/main.py @@ -37,7 +37,10 @@ async def get_weather(args: dict) -> dict: class WeatherRequest(BaseModel): - city: str = Field(description="City to report the weather for, e.g. 'London'.") + city: str = Field( + default="London", + description="City to report the weather for, e.g. 'London'.", + ) class WeatherReport(BaseModel): diff --git a/packages/uipath-claude-sdk/template/pyproject.toml b/packages/uipath-claude-sdk/template/pyproject.toml index 18f4670f..94bdb132 100644 --- a/packages/uipath-claude-sdk/template/pyproject.toml +++ b/packages/uipath-claude-sdk/template/pyproject.toml @@ -12,3 +12,5 @@ requires-python = ">=3.11" dev = [ "uipath-dev>=0.0.74", ] + +[tool.uv] diff --git a/packages/uipath-llamaindex/template/entry-points.json b/packages/uipath-llamaindex/template/entry-points.json index be5214c7..37d6ae1d 100644 --- a/packages/uipath-llamaindex/template/entry-points.json +++ b/packages/uipath-llamaindex/template/entry-points.json @@ -10,14 +10,12 @@ "type": "object", "properties": { "question": { + "default": "What's the weather in Paris?", "description": "Question for the assistant, e.g. 'What's the weather in Paris?'", "title": "Question", "type": "string" } - }, - "required": [ - "question" - ] + } }, "output": { "type": "object", diff --git a/packages/uipath-llamaindex/template/main.py b/packages/uipath-llamaindex/template/main.py index b9bafe00..1c70c991 100644 --- a/packages/uipath-llamaindex/template/main.py +++ b/packages/uipath-llamaindex/template/main.py @@ -65,7 +65,8 @@ def get_weather(city: str, utc_time: str) -> str: class QueryEvent(StartEvent): question: str = Field( - description="Question for the assistant, e.g. 'What's the weather in Paris?'" + default="What's the weather in Paris?", + description="Question for the assistant, e.g. 'What's the weather in Paris?'", ) diff --git a/packages/uipath-llamaindex/template/pyproject.toml b/packages/uipath-llamaindex/template/pyproject.toml index fd384532..ccabb279 100644 --- a/packages/uipath-llamaindex/template/pyproject.toml +++ b/packages/uipath-llamaindex/template/pyproject.toml @@ -12,3 +12,5 @@ requires-python = ">=3.11" dev = [ "uipath-dev>=0.0.74", ] + +[tool.uv] diff --git a/packages/uipath-llamaindex/template/uv.lock b/packages/uipath-llamaindex/template/uv.lock index 0a6653a3..038a72cb 100644 --- a/packages/uipath-llamaindex/template/uv.lock +++ b/packages/uipath-llamaindex/template/uv.lock @@ -8,17 +8,6 @@ resolution-markers = [ "python_full_version < '3.12'", ] -[options] -exclude-newer = "0001-01-01T00:00:00Z" # This has no effect and is included for backwards compatibility when using relative exclude-newer values. -exclude-newer-span = "P2D" - -[options.exclude-newer-package] -uipath = false -uipath-llamaindex = false -uipath-platform = false -uipath-runtime = false -uipath-core = false - [[package]] name = "aiobotocore" version = "3.9.2"