pub fn load_codex_providers_from_connection(
connection: &Connection,
) -> Result<Vec<CodexProvider>, ProviderError>Expand description
Load all Codex providers from an existing SQLite connection.
§Arguments
connection- Open SQLite connection containing aproviderstable.
§Returns
A vector of Codex provider configurations, preserving database row order.
§Errors
Returns ProviderError::Database when the table cannot be queried.
Returns ProviderError::SettingsJson when a Codex provider has invalid settings JSON.