diff options
| author | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-11 16:20:15 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-11 16:20:15 +0100 |
| commit | 1ab0d5fb96624e0fb92b961fc02b3e6344126033 (patch) | |
| tree | 78aa653a5ca9c894ec6c4dc2000d1e6115c4c5b8 /include/importer.hpp | |
| parent | 08d42688d851eb134da496be721e234f53ff8d0b (diff) | |
add icons for external providers
Diffstat (limited to 'include/importer.hpp')
| -rw-r--r-- | include/importer.hpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/importer.hpp b/include/importer.hpp index 731d1ff..75025bb 100644 --- a/include/importer.hpp +++ b/include/importer.hpp @@ -64,18 +64,13 @@ namespace importer { { const char* provider_name; const char* default_model; + const char* icon_name; bool (*upload_file)(const char* file_path, char* file_id, size_t file_id_len); bool (*query_with_file)(const char* query, size_t query_length, const char* file_id, char** response); bool (*batch_query_with_file)(const char** queries, size_t query_count, const char* file_id, invoice* buffer, batch_query_response_handler response_handler); bool (*get_available_models)(model_list_request* buffer); } ai_provider_impl; - typedef struct - { - const char* provider_name; - bool (*send_email)(const char* sender, const char* recipient, const char* subject, const char* text); - } email_provider_impl; - const char* error_to_string(i_err error); const char* status_to_string(import_status status); |
