Skip to content

Conversation

@jirispilka
Copy link
Contributor

@jirispilka jirispilka commented Oct 22, 2025

fix: Output schema (fix copy-paste mistakes) and containerUrl to containerRunUrl (I guess it is the correct variable)

Edit: Replace: lnkis.containerRunUrl with run.containerUrl

close: #2033

…ainerRunUrl (I guess it is a correct variable)
@jirispilka jirispilka requested a review from TC-MO as a code owner October 22, 2025 06:31
@github-actions github-actions bot added the t-ai Issues owned by the AI team. label Oct 22, 2025
@jirispilka jirispilka changed the title fix: Output schema (fix copy-paste mistakes) and containerUrl to containerRunUrl (I guess it is a correct variable) fix: Output schema (fix copy-paste mistakes) Oct 22, 2025
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Comment @cursor review or bugbot run to trigger another review on this PR

"type": "string",
"title": "Chat client",
"template": "{{run.containerUrl}}"
"template": "{{run.containerRunUrl}}"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Template Variable References Incorrect Object

The template variable {{run.containerRunUrl}} references an incorrect object. Documentation shows {{links.containerRunUrl}} for container URLs, and the run object only contains defaultDatasetId and defaultKeyValueStoreId. This could prevent the template from resolving as expected.

Fix in Cursor Fix in Web

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ops, now looking at it again, I'm not sure what is the correct property, @gippy please correct me here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use either run.containerUrl or links.containerRunUrl.
Both are mentioned in the docs and I think it's confusing, we should unify it.

The links.containerRunUrl is mentioned in the available variables here which is what Cursor picked up here I think.
The run.containerUrl is on the other hand mentioned in the example here

Copy link
Member

@gippy gippy Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mulled it over a little bit. I think best option is to use run.containerUrl here, remove the links.containerRunUrl from the available template variables section and add the run.containerUrl there instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, fixed

@jirispilka jirispilka requested a review from gippy October 22, 2025 06:33
@apify-service-account
Copy link

Preview for this PR was built for commit d1d5b59 and is ready at https://pr-2034.preview.docs.apify.com!

…ks.containerRunUrl` with `run.containerUrl`
@apify-service-account
Copy link

Preview for this PR was built for commit f88f485 and is ready at https://pr-2034.preview.docs.apify.com!

@jirispilka jirispilka merged commit 42c9af3 into master Oct 22, 2025
11 checks passed
@jirispilka jirispilka deleted the fix/output-schema branch October 22, 2025 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-ai Issues owned by the AI team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Actor output schema, fix copy paste mistake with dataset/kv-store, inconsistent containerUrl

5 participants