Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: always return database table columns (#429)
When there are no rows in a table, the `list_database_table_rows` tool doesn't return table column names. To fix this, use an explicit query to fetch the table columns instead of relying on sqlite3's `-header` option. Addresses obot-platform/obot#1702 Signed-off-by: Nick Hale <[email protected]>
- Loading branch information