-
Notifications
You must be signed in to change notification settings - Fork 77
feat: dynamic actor loading is enabled by default #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: dynamic actor loading is enabled by default #147
Conversation
MQ37
left a comment
There was a problem hiding this 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
jirispilka
left a comment
There was a problem hiding this 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
…ble-dynamic-actor-loading
| input.enableAddingActors = input.enableActorAutoLoading === true || input.enableActorAutoLoading === 'true'; | ||
| } else { | ||
| input.enableAddingActors = false; | ||
| input.enableAddingActors = true; |
There was a problem hiding this comment.
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.
|
Tests are updated, and all should pass. |
MQ37
left a comment
There was a problem hiding this 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 👍
MQ37
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
jirispilka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
closes #144