Description
nodes/src/nodes/llm_perplexity/services.json declares preconfig.default as sonar, but the perplexity.profile UI field defaults to sonar-pro. The generated README schema reflects sonar-pro, while the profile contract, hand-written README, and node test use sonar.
This creates two competing defaults for the same node. The selected model can depend on which configuration layer initializes the node, changing model behavior, token limits, and cost.
Steps to Reproduce
- Open
nodes/src/nodes/llm_perplexity/services.json.
- Observe
preconfig.default is sonar.
- Observe
fields["perplexity.profile"].default is sonar-pro.
- Generate the node README or inspect the canvas schema default.
- Observe that the generated field contract reports
sonar-pro while the profile contract reports sonar.
Expected vs Actual Behavior
Expected: the preconfiguration default and profile-selector field default use the same profile. Evidence from the README contract and existing test configuration indicates the intended default is sonar.
Actual: preconfiguration and tests use sonar, while the UI field and generated schema use sonar-pro.
Severity
P2 - Medium. The node remains usable, but a newly configured node may select a different model than the documented default.
Platform
All platforms; the mismatch is in shared node metadata.
Acceptance Criteria
preconfig.default and perplexity.profile.default both resolve to sonar.
- The generated README schema reports
sonar.
- A deterministic regression test fails if a profile selector default diverges from
preconfig.default.
- Perplexity node README validation and relevant unit/contract tests pass.
Description
nodes/src/nodes/llm_perplexity/services.jsondeclarespreconfig.defaultassonar, but theperplexity.profileUI field defaults tosonar-pro. The generated README schema reflectssonar-pro, while the profile contract, hand-written README, and node test usesonar.This creates two competing defaults for the same node. The selected model can depend on which configuration layer initializes the node, changing model behavior, token limits, and cost.
Steps to Reproduce
nodes/src/nodes/llm_perplexity/services.json.preconfig.defaultissonar.fields["perplexity.profile"].defaultissonar-pro.sonar-prowhile the profile contract reportssonar.Expected vs Actual Behavior
Expected: the preconfiguration default and profile-selector field default use the same profile. Evidence from the README contract and existing test configuration indicates the intended default is
sonar.Actual: preconfiguration and tests use
sonar, while the UI field and generated schema usesonar-pro.Severity
P2 - Medium. The node remains usable, but a newly configured node may select a different model than the documented default.
Platform
All platforms; the mismatch is in shared node metadata.
Acceptance Criteria
preconfig.defaultandperplexity.profile.defaultboth resolve tosonar.sonar.preconfig.default.