Add web interface and main entry points for Discord bot; update dependencies and queue state
This commit is contained in:
256
discord_bot.log
256
discord_bot.log
@@ -26807,3 +26807,259 @@ Max Tokens: 1000
|
||||
2025-02-11 19:46:23 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:47:23 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:47:23 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:48:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:48:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:49:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:49:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:50:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:50:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:51:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:51:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:52:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:52:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:53:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:53:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:54:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:54:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:55:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:55:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:56:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:56:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:57:32 - INFO - discord_bot - <module>:211 - Using database path: conversation_history.db
|
||||
2025-02-11 19:57:32 - INFO - discord_bot - load_responses:250 - Loaded responses from file
|
||||
2025-02-11 19:57:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:57:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:58:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:58:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 19:59:31 - INFO - discord_bot - <module>:211 - Using database path: conversation_history.db
|
||||
2025-02-11 19:59:31 - INFO - discord_bot - load_responses:250 - Loaded responses from file
|
||||
2025-02-11 19:59:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 19:59:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:00:53 - INFO - discord_bot - _process_queue:295 - Queue processor 37c33154 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 20:00:53 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:00:59 - INFO - discord_bot - <module>:211 - Using database path: conversation_history.db
|
||||
2025-02-11 20:00:59 - INFO - discord_bot - load_responses:250 - Loaded responses from file
|
||||
2025-02-11 20:00:59 - INFO - discord_bot - validate_config:290 - Vision API Configuration:
|
||||
Model: meta-llama/llama-3.2-90b-vision-instruct:free
|
||||
Base URL: https://openrouter.ai/api/v1/chat/completions
|
||||
Timeout: 30.0
|
||||
Max Tokens: 1000
|
||||
2025-02-11 20:00:59 - WARNING - discord_bot - validate_config:326 - GLHF API is not fully configured. API features will be disabled.
|
||||
2025-02-11 20:00:59 - INFO - discord_bot - validate_config:356 - Configuration validated successfully
|
||||
2025-02-11 20:00:59 - INFO - discord_bot - load_state:40 - Queue state loaded from file - Pending messages: 0
|
||||
2025-02-11 20:00:59 - DEBUG - asyncio - __init__:64 - Using selector: KqueueSelector
|
||||
2025-02-11 20:01:02 - INFO - discord_bot - on_ready:118 - CobraSilver#8886 has connected to Discord!
|
||||
2025-02-11 20:01:02 - INFO - discord_bot - init_db:184 - Initializing database schema...
|
||||
2025-02-11 20:01:02 - INFO - discord_bot - _init_connection:96 - Database connection initialized with optimized settings
|
||||
2025-02-11 20:01:02 - INFO - discord_bot - init_db:201 - Users table created/verified
|
||||
2025-02-11 20:01:02 - INFO - discord_bot - init_db:216 - Threads table created/verified
|
||||
2025-02-11 20:01:02 - INFO - discord_bot - init_db:236 - Messages table created/verified
|
||||
2025-02-11 20:01:02 - INFO - discord_bot - init_db:271 - All indices created/verified
|
||||
2025-02-11 20:01:02 - INFO - discord_bot - init_db:274 - Database schema initialized successfully
|
||||
2025-02-11 20:01:02 - INFO - discord_bot - start:38 - API manager started
|
||||
2025-02-11 20:01:02 - INFO - discord_bot - on_ready:134 - Started API health check loop
|
||||
2025-02-11 20:01:03 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:01:03 - INFO - discord_bot - _process_queue:207 - Queue processor 6e6e803c starting
|
||||
2025-02-11 20:01:03 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:01:06 - INFO - discord_bot - shutdown:260 - Received SIGINT
|
||||
2025-02-11 20:01:06 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:01:06 - WARNING - discord_bot - _process_queue:329 - Queue processor 6e6e803c exited - Processed: 1859, Failed: 46
|
||||
2025-02-11 20:01:06 - INFO - discord_bot - shutdown:260 - Received SIGTERM
|
||||
2025-02-11 20:01:06 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:01:06 - INFO - discord_bot - shutdown:46 - API manager shutdown
|
||||
2025-02-11 20:01:06 - INFO - discord_bot - stop:230 - Stopped API health check loop
|
||||
2025-02-11 20:01:06 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:01:06 - DEBUG - discord_bot - _close_connection:107 - Database connection closed
|
||||
2025-02-11 20:01:06 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:01:06 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:01:06 - INFO - discord_bot - run_bot:320 - Bot shutdown complete
|
||||
2025-02-11 20:01:40 - INFO - discord_bot - shutdown:247 - Received SIGTERM
|
||||
2025-02-11 20:01:40 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:01:40 - WARNING - discord_bot - _process_queue:329 - Queue processor 37c33154 exited - Processed: 1859, Failed: 46
|
||||
2025-02-11 20:01:40 - INFO - discord_bot - shutdown:247 - Received SIGTERM
|
||||
2025-02-11 20:01:40 - INFO - discord_bot - stop:200 - Initiating shutdown...
|
||||
2025-02-11 20:01:40 - INFO - discord_bot - shutdown:46 - API manager shutdown
|
||||
2025-02-11 20:01:40 - INFO - discord_bot - stop:217 - Stopped API health check loop
|
||||
2025-02-11 20:01:40 - INFO - discord_bot - stop:240 - Shutdown complete
|
||||
2025-02-11 20:01:40 - INFO - discord_bot - stop:200 - Initiating shutdown...
|
||||
2025-02-11 20:01:40 - INFO - discord_bot - stop:240 - Shutdown complete
|
||||
2025-02-11 20:01:40 - INFO - discord_bot - run_bot:307 - Bot shutdown complete
|
||||
2025-02-11 20:01:40 - INFO - discord_bot - <module>:211 - Using database path: conversation_history.db
|
||||
2025-02-11 20:01:40 - INFO - discord_bot - load_responses:250 - Loaded responses from file
|
||||
2025-02-11 20:01:41 - INFO - discord_bot - validate_config:290 - Vision API Configuration:
|
||||
Model: meta-llama/llama-3.2-90b-vision-instruct:free
|
||||
Base URL: https://openrouter.ai/api/v1/chat/completions
|
||||
Timeout: 30.0
|
||||
Max Tokens: 1000
|
||||
2025-02-11 20:01:41 - WARNING - discord_bot - validate_config:326 - GLHF API is not fully configured. API features will be disabled.
|
||||
2025-02-11 20:01:41 - INFO - discord_bot - validate_config:356 - Configuration validated successfully
|
||||
2025-02-11 20:01:41 - INFO - discord_bot - load_state:40 - Queue state loaded from file - Pending messages: 0
|
||||
2025-02-11 20:01:41 - DEBUG - asyncio - __init__:64 - Using selector: KqueueSelector
|
||||
2025-02-11 20:01:43 - INFO - discord_bot - on_ready:118 - CobraSilver#8886 has connected to Discord!
|
||||
2025-02-11 20:01:43 - INFO - discord_bot - init_db:184 - Initializing database schema...
|
||||
2025-02-11 20:01:43 - INFO - discord_bot - _init_connection:96 - Database connection initialized with optimized settings
|
||||
2025-02-11 20:01:43 - INFO - discord_bot - init_db:201 - Users table created/verified
|
||||
2025-02-11 20:01:43 - INFO - discord_bot - init_db:216 - Threads table created/verified
|
||||
2025-02-11 20:01:43 - INFO - discord_bot - init_db:236 - Messages table created/verified
|
||||
2025-02-11 20:01:43 - INFO - discord_bot - init_db:271 - All indices created/verified
|
||||
2025-02-11 20:01:43 - INFO - discord_bot - init_db:274 - Database schema initialized successfully
|
||||
2025-02-11 20:01:43 - INFO - discord_bot - start:38 - API manager started
|
||||
2025-02-11 20:01:43 - INFO - discord_bot - on_ready:134 - Started API health check loop
|
||||
2025-02-11 20:01:44 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:01:44 - INFO - discord_bot - _process_queue:207 - Queue processor 2685dbfc starting
|
||||
2025-02-11 20:01:44 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:01:46 - INFO - discord_bot - shutdown:260 - Received SIGINT
|
||||
2025-02-11 20:01:46 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:01:46 - WARNING - discord_bot - _process_queue:329 - Queue processor 2685dbfc exited - Processed: 1859, Failed: 46
|
||||
2025-02-11 20:01:46 - INFO - discord_bot - shutdown:260 - Received SIGTERM
|
||||
2025-02-11 20:01:46 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:01:46 - INFO - discord_bot - shutdown:46 - API manager shutdown
|
||||
2025-02-11 20:01:46 - INFO - discord_bot - stop:230 - Stopped API health check loop
|
||||
2025-02-11 20:01:46 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:01:46 - DEBUG - discord_bot - _close_connection:107 - Database connection closed
|
||||
2025-02-11 20:01:46 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:01:46 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:01:46 - INFO - discord_bot - run_bot:320 - Bot shutdown complete
|
||||
2025-02-11 20:02:30 - INFO - discord_bot - <module>:211 - Using database path: conversation_history.db
|
||||
2025-02-11 20:02:30 - INFO - discord_bot - load_responses:250 - Loaded responses from file
|
||||
2025-02-11 20:02:30 - INFO - discord_bot - validate_config:290 - Vision API Configuration:
|
||||
Model: meta-llama/llama-3.2-90b-vision-instruct:free
|
||||
Base URL: https://openrouter.ai/api/v1/chat/completions
|
||||
Timeout: 30.0
|
||||
Max Tokens: 1000
|
||||
2025-02-11 20:02:30 - WARNING - discord_bot - validate_config:326 - GLHF API is not fully configured. API features will be disabled.
|
||||
2025-02-11 20:02:30 - INFO - discord_bot - validate_config:356 - Configuration validated successfully
|
||||
2025-02-11 20:02:30 - INFO - discord_bot - load_state:40 - Queue state loaded from file - Pending messages: 0
|
||||
2025-02-11 20:02:30 - DEBUG - asyncio - __init__:64 - Using selector: KqueueSelector
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - on_ready:118 - CobraSilver#8886 has connected to Discord!
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - init_db:184 - Initializing database schema...
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - _init_connection:96 - Database connection initialized with optimized settings
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - init_db:201 - Users table created/verified
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - init_db:216 - Threads table created/verified
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - init_db:236 - Messages table created/verified
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - init_db:271 - All indices created/verified
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - init_db:274 - Database schema initialized successfully
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - start:38 - API manager started
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - on_ready:134 - Started API health check loop
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - shutdown:260 - Received SIGINT
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - shutdown:46 - API manager shutdown
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - stop:230 - Stopped API health check loop
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - shutdown:260 - Received SIGTERM
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:02:33 - INFO - discord_bot - run_bot:320 - Bot shutdown complete
|
||||
2025-02-11 20:02:33 - ERROR - asyncio - default_exception_handler:1864 - Task was destroyed but it is pending!
|
||||
task: <Task pending name='Task-10' coro=<shutdown() done, defined at /Volumes/macminissd/Projects/discord_glhf/discord_glhf/bot.py:256> wait_for=<_GatheringFuture finished result=[CancelledError(''), CancelledError('')]>>
|
||||
2025-02-11 20:03:46 - INFO - discord_bot - <module>:211 - Using database path: conversation_history.db
|
||||
2025-02-11 20:03:46 - INFO - discord_bot - load_responses:250 - Loaded responses from file
|
||||
2025-02-11 20:03:47 - INFO - discord_bot - validate_config:290 - Vision API Configuration:
|
||||
Model: meta-llama/llama-3.2-90b-vision-instruct:free
|
||||
Base URL: https://openrouter.ai/api/v1/chat/completions
|
||||
Timeout: 30.0
|
||||
Max Tokens: 1000
|
||||
2025-02-11 20:03:47 - WARNING - discord_bot - validate_config:326 - GLHF API is not fully configured. API features will be disabled.
|
||||
2025-02-11 20:03:47 - INFO - discord_bot - validate_config:356 - Configuration validated successfully
|
||||
2025-02-11 20:03:47 - INFO - discord_bot - load_state:40 - Queue state loaded from file - Pending messages: 0
|
||||
2025-02-11 20:03:47 - DEBUG - asyncio - __init__:64 - Using selector: KqueueSelector
|
||||
2025-02-11 20:03:49 - INFO - discord_bot - on_ready:118 - CobraSilver#8886 has connected to Discord!
|
||||
2025-02-11 20:03:49 - INFO - discord_bot - init_db:184 - Initializing database schema...
|
||||
2025-02-11 20:03:49 - INFO - discord_bot - _init_connection:96 - Database connection initialized with optimized settings
|
||||
2025-02-11 20:03:49 - INFO - discord_bot - init_db:201 - Users table created/verified
|
||||
2025-02-11 20:03:49 - INFO - discord_bot - init_db:216 - Threads table created/verified
|
||||
2025-02-11 20:03:49 - INFO - discord_bot - init_db:236 - Messages table created/verified
|
||||
2025-02-11 20:03:49 - INFO - discord_bot - init_db:271 - All indices created/verified
|
||||
2025-02-11 20:03:49 - INFO - discord_bot - init_db:274 - Database schema initialized successfully
|
||||
2025-02-11 20:03:49 - INFO - discord_bot - start:38 - API manager started
|
||||
2025-02-11 20:03:49 - INFO - discord_bot - on_ready:134 - Started API health check loop
|
||||
2025-02-11 20:03:50 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:03:50 - INFO - discord_bot - _process_queue:207 - Queue processor b04dd0ef starting
|
||||
2025-02-11 20:03:50 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:03:52 - INFO - discord_bot - shutdown:260 - Received SIGINT
|
||||
2025-02-11 20:03:52 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:03:52 - WARNING - discord_bot - _process_queue:329 - Queue processor b04dd0ef exited - Processed: 1859, Failed: 46
|
||||
2025-02-11 20:03:52 - INFO - discord_bot - shutdown:260 - Received SIGTERM
|
||||
2025-02-11 20:03:52 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:03:52 - INFO - discord_bot - shutdown:46 - API manager shutdown
|
||||
2025-02-11 20:03:52 - INFO - discord_bot - stop:230 - Stopped API health check loop
|
||||
2025-02-11 20:03:52 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:03:52 - DEBUG - discord_bot - _close_connection:107 - Database connection closed
|
||||
2025-02-11 20:03:52 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:03:52 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:03:52 - INFO - discord_bot - run_bot:320 - Bot shutdown complete
|
||||
2025-02-11 20:05:20 - INFO - discord_bot - <module>:211 - Using database path: conversation_history.db
|
||||
2025-02-11 20:05:20 - INFO - discord_bot - load_responses:250 - Loaded responses from file
|
||||
2025-02-11 20:05:21 - INFO - discord_bot - validate_config:290 - Vision API Configuration:
|
||||
Model: meta-llama/llama-3.2-90b-vision-instruct:free
|
||||
Base URL: https://openrouter.ai/api/v1/chat/completions
|
||||
Timeout: 30.0
|
||||
Max Tokens: 1000
|
||||
2025-02-11 20:05:21 - WARNING - discord_bot - validate_config:326 - GLHF API is not fully configured. API features will be disabled.
|
||||
2025-02-11 20:05:21 - INFO - discord_bot - validate_config:356 - Configuration validated successfully
|
||||
2025-02-11 20:05:21 - INFO - discord_bot - load_state:40 - Queue state loaded from file - Pending messages: 0
|
||||
2025-02-11 20:05:21 - DEBUG - asyncio - __init__:64 - Using selector: KqueueSelector
|
||||
2025-02-11 20:05:23 - INFO - discord_bot - on_ready:118 - CobraSilver#8886 has connected to Discord!
|
||||
2025-02-11 20:05:23 - INFO - discord_bot - init_db:184 - Initializing database schema...
|
||||
2025-02-11 20:05:23 - INFO - discord_bot - _init_connection:96 - Database connection initialized with optimized settings
|
||||
2025-02-11 20:05:23 - INFO - discord_bot - init_db:201 - Users table created/verified
|
||||
2025-02-11 20:05:23 - INFO - discord_bot - init_db:216 - Threads table created/verified
|
||||
2025-02-11 20:05:23 - INFO - discord_bot - init_db:236 - Messages table created/verified
|
||||
2025-02-11 20:05:23 - INFO - discord_bot - init_db:271 - All indices created/verified
|
||||
2025-02-11 20:05:23 - INFO - discord_bot - init_db:274 - Database schema initialized successfully
|
||||
2025-02-11 20:05:23 - INFO - discord_bot - start:38 - API manager started
|
||||
2025-02-11 20:05:23 - INFO - discord_bot - on_ready:134 - Started API health check loop
|
||||
2025-02-11 20:05:24 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:05:24 - INFO - discord_bot - _process_queue:207 - Queue processor 9d6f2bbe starting
|
||||
2025-02-11 20:05:24 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:05:51 - INFO - discord_bot - shutdown:260 - Received SIGINT
|
||||
2025-02-11 20:05:51 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:05:51 - WARNING - discord_bot - _process_queue:329 - Queue processor 9d6f2bbe exited - Processed: 1859, Failed: 46
|
||||
2025-02-11 20:05:51 - INFO - discord_bot - shutdown:260 - Received SIGTERM
|
||||
2025-02-11 20:05:51 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:05:51 - INFO - discord_bot - shutdown:46 - API manager shutdown
|
||||
2025-02-11 20:05:51 - INFO - discord_bot - stop:230 - Stopped API health check loop
|
||||
2025-02-11 20:05:51 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:05:51 - DEBUG - discord_bot - _close_connection:107 - Database connection closed
|
||||
2025-02-11 20:05:51 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:05:51 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:05:51 - INFO - discord_bot - run_bot:320 - Bot shutdown complete
|
||||
2025-02-11 20:06:02 - INFO - discord_bot - <module>:211 - Using database path: conversation_history.db
|
||||
2025-02-11 20:06:02 - INFO - discord_bot - load_responses:250 - Loaded responses from file
|
||||
2025-02-11 20:06:02 - INFO - discord_bot - validate_config:290 - Vision API Configuration:
|
||||
Model: meta-llama/llama-3.2-90b-vision-instruct:free
|
||||
Base URL: https://openrouter.ai/api/v1/chat/completions
|
||||
Timeout: 30.0
|
||||
Max Tokens: 1000
|
||||
2025-02-11 20:06:02 - WARNING - discord_bot - validate_config:326 - GLHF API is not fully configured. API features will be disabled.
|
||||
2025-02-11 20:06:02 - INFO - discord_bot - validate_config:356 - Configuration validated successfully
|
||||
2025-02-11 20:06:02 - INFO - discord_bot - load_state:40 - Queue state loaded from file - Pending messages: 0
|
||||
2025-02-11 20:06:02 - DEBUG - asyncio - __init__:64 - Using selector: KqueueSelector
|
||||
2025-02-11 20:06:05 - INFO - discord_bot - on_ready:118 - CobraSilver#8886 has connected to Discord!
|
||||
2025-02-11 20:06:05 - INFO - discord_bot - init_db:184 - Initializing database schema...
|
||||
2025-02-11 20:06:05 - INFO - discord_bot - _init_connection:96 - Database connection initialized with optimized settings
|
||||
2025-02-11 20:06:05 - INFO - discord_bot - init_db:201 - Users table created/verified
|
||||
2025-02-11 20:06:05 - INFO - discord_bot - init_db:216 - Threads table created/verified
|
||||
2025-02-11 20:06:05 - INFO - discord_bot - init_db:236 - Messages table created/verified
|
||||
2025-02-11 20:06:05 - INFO - discord_bot - init_db:271 - All indices created/verified
|
||||
2025-02-11 20:06:05 - INFO - discord_bot - init_db:274 - Database schema initialized successfully
|
||||
2025-02-11 20:06:05 - INFO - discord_bot - start:38 - API manager started
|
||||
2025-02-11 20:06:05 - INFO - discord_bot - on_ready:134 - Started API health check loop
|
||||
2025-02-11 20:06:06 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:06:06 - INFO - discord_bot - _process_queue:207 - Queue processor 4d1c3e50 starting
|
||||
2025-02-11 20:06:06 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:07:06 - INFO - discord_bot - _process_queue:295 - Queue processor 4d1c3e50 heartbeat - Active: True, Queue size: 0, Processing: 0, Total processed: 1859
|
||||
2025-02-11 20:07:06 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:07:08 - INFO - discord_bot - shutdown:260 - Received SIGINT
|
||||
2025-02-11 20:07:08 - DEBUG - discord_bot - save_state:62 - Queue state saved - Pending messages: 0
|
||||
2025-02-11 20:07:08 - WARNING - discord_bot - _process_queue:329 - Queue processor 4d1c3e50 exited - Processed: 1859, Failed: 46
|
||||
2025-02-11 20:07:08 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:07:08 - INFO - discord_bot - stop:208 - Initiating shutdown...
|
||||
2025-02-11 20:07:08 - INFO - discord_bot - shutdown:46 - API manager shutdown
|
||||
2025-02-11 20:07:08 - INFO - discord_bot - stop:230 - Stopped API health check loop
|
||||
2025-02-11 20:07:08 - INFO - discord_bot - shutdown:260 - Received SIGTERM
|
||||
2025-02-11 20:07:08 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:07:08 - INFO - discord_bot - stop:253 - Shutdown complete
|
||||
2025-02-11 20:07:08 - INFO - discord_bot - run_bot:320 - Bot shutdown complete
|
||||
2025-02-11 20:07:08 - ERROR - asyncio - default_exception_handler:1864 - Task was destroyed but it is pending!
|
||||
task: <Task pending name='Task-12' coro=<shutdown() done, defined at /Volumes/macminissd/Projects/discord_glhf/discord_glhf/bot.py:256> wait_for=<_GatheringFuture finished result=[CancelledError(''), CancelledError('')]>>
|
||||
|
||||
Reference in New Issue
Block a user