fix(cuga): fix cuga component configurations & update version#10303
Conversation
|
Please run the following command locally and commit the changes: make build_component_indexOr alternatively: LFX_DEV=1 uv run python scripts/build_component_index.pyThen commit and push the updated |
WalkthroughUpdated the cuga dependency version from 0.1.2.dev3 to 0.1.2 in pyproject.toml. Modified cuga_agent.py to apply dynamic in-process settings configuration for advanced features instead of relying solely on environment variables, with fallback error handling to preserve existing behavior. Changes
Sequence DiagramsequenceDiagram
participant A as cuga_agent.py
participant B as cuga.config
participant C as Environment Variables
A->>B: Try import settings
alt Import Successful
B-->>A: settings object
A->>B: Apply advanced_features config<br/>(registry=False, mode, use_vision)
B-->>A: Settings updated
A->>A: Log updated mode
else Import/Attribute Error
A->>A: Log warning
A->>C: Fall back to env vars
C-->>A: Environment config
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Pre-merge checks and finishing touches❌ Failed checks (1 error, 1 warning, 1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



Summary by CodeRabbit
Dependencies
Improvements