Service Daemon exposes an AI application as an API that is accessible through the SingularityNET Network. It handles all interaction with the blockchain for authorization and payment using AGI tokens and passes through API calls to the AI application.
MIT License
46
stars
49
forks
source link
New logger, free calls for certain users, update tests #586
A new logger in the entire project (for logging operations, a performance increase of more than 1000%, memory allocation is 10+ times less compared to the old logger).
Logs can now be written to multiple sources at once. You can now pass an array in the type field. Example:
The connection_timeout and request_timeout parameters are now used (instead of ipfs) if they are explicitly specified in the config in the payment_channel_storage_client section.
The daemon will now output understandable logs if it is not possible to connect to etcd.
Completely redesigned hooks. Now you can send errors via telegram & email. Example:
New parameter in the free_calls_users config: now you can select a specific number of free calls for a specific userID. Example:
A new logger in the entire project (for logging operations, a performance increase of more than 1000%, memory allocation is 10+ times less compared to the old logger).
Logs can now be written to multiple sources at once. You can now pass an array in the type field. Example:
The rotation_time_in_sec and max_age_in_sec parameters have been removed. Instead, they are now max_size_in_mb and max_age_in_days. Example:
Logs for the embedded etcd can now be controlled separately using the log_level and log_outputs parameters. Example:
The connection_timeout and request_timeout parameters are now used (instead of ipfs) if they are explicitly specified in the config in the payment_channel_storage_client section.
The daemon will now output understandable logs if it is not possible to connect to etcd.
Completely redesigned hooks. Now you can send errors via telegram & email. Example:
The init command now generates the simplest possible config file
Fixing tests and errors in the daemon documentation
The log level will be colored in the console if the type field has a value other than file.