summaryrefslogtreecommitdiff
path: root/include/importer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/importer.hpp')
-rw-r--r--include/importer.hpp7
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);