Skip to content

Ensure vision analysis errors always include exception trace in logs#839

Open
aydnOktay wants to merge 2 commits intoNousResearch:mainfrom
aydnOktay:fix/vision-tools-error-logging
Open

Ensure vision analysis errors always include exception trace in logs#839
aydnOktay wants to merge 2 commits intoNousResearch:mainfrom
aydnOktay:fix/vision-tools-error-logging

Conversation

@aydnOktay
Copy link
Contributor

PR tightens error logging for the vision analysis tool so that failures are always captured with full exception trace information. When vision_analyze_tool encounters an error, it now uses logger.exception instead of a plain logger.error, guaranteeing that exc_info is populated and making it easier to debug real-world issues as well as satisfy the error-logging tests in tests/tools/test_vision_tools.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant