Skip to content

Conversation

@MichalKalita
Copy link
Contributor

@MichalKalita MichalKalita commented Jun 18, 2025

closes #144

@github-actions github-actions bot added t-ai Issues owned by the AI team. tested Temporary label used only programatically for some analytics. labels Jun 18, 2025
@MichalKalita MichalKalita marked this pull request as ready for review June 18, 2025 15:10
@MichalKalita MichalKalita requested review from MQ37 and jirispilka June 18, 2025 15:10
Copy link
Contributor

@MQ37 MQ37 left a comment

Choose a reason for hiding this comment

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

integration tests are failing, please check with APIFY_TOKEN="your token" npm run test:integration and fix them

Copy link
Collaborator

@jirispilka jirispilka left a comment

Choose a reason for hiding this comment

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

Please see my comments here

input.enableAddingActors = input.enableActorAutoLoading === true || input.enableActorAutoLoading === 'true';
} else {
input.enableAddingActors = false;
input.enableAddingActors = true;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This simple update changes the logic in apify-mcp-server. When the setting is not set, it's enabled by default. If it is set (by URL or config object), it uses the value as before.

@MichalKalita
Copy link
Contributor Author

Tests are updated, and all should pass.

@MichalKalita MichalKalita requested review from MQ37 and jirispilka June 20, 2025 09:02
Copy link
Contributor

@MQ37 MQ37 left a comment

Choose a reason for hiding this comment

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

please add test case for disabling the Actor adding tools by passing false and check if they are actually NOT loaded, otherwise LGTM 👍

@MichalKalita MichalKalita requested a review from MQ37 June 20, 2025 12:41
Copy link
Contributor

@MQ37 MQ37 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Collaborator

@jirispilka jirispilka left a comment

Choose a reason for hiding this comment

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

Thank you!

@MichalKalita MichalKalita merged commit 261e1aa into master Jun 24, 2025
2 checks passed
@MichalKalita MichalKalita deleted the feature/default-enable-dynamic-actor-loading branch June 24, 2025 08:50
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. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable dynamic Actor loading by default

3 participants