fix(codecompanion): improve error handling for empty stderr output by ruslanfialkovskii · Pull Request #286 · Davidyz/VectorCode

Davidyz

requested changes Sep 9, 2025

@ruslanfialkovskii @Davidyz

- Enhanced flatten_table_to_string to filter out empty error messages
- Added logic to distinguish actual errors from empty stderr output
- Prevents false error reporting when VectorCode operations succeed but have no stderr
- Provides meaningful fallback error message for truly empty error conditions
- Fixes issue where successful operations with empty stderr were reported as { "" } errors

Resolves the confusing empty error message issue in CodeCompanion integration.

Zhe Yu added 2 commits

September 20, 2025 11:12