mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-21 19:48:55 +00:00
v1.2.1
This commit is contained in:
@@ -92,7 +92,7 @@ char *llm_generate_response(llm_config_t *config)
|
||||
}
|
||||
strcat(newAllContent, config->content_buffer);
|
||||
allContent = newAllContent;
|
||||
printf("%s", config->content_buffer);
|
||||
// printf("%s", config->content_buffer);
|
||||
free(oldAllContent);
|
||||
|
||||
if (config->callback)
|
||||
|
||||
@@ -34,9 +34,9 @@ thread_pool_t *thread_pool_create(int thread_count)
|
||||
if (!pool) return NULL;
|
||||
|
||||
pool->task_mq = rt_mq_create("tpool_mq",
|
||||
2048,
|
||||
sizeof(thread_pool_task_t),
|
||||
RT_IPC_FLAG_FIFO);
|
||||
sizeof(thread_pool_task_t),
|
||||
128,
|
||||
RT_IPC_FLAG_FIFO);
|
||||
if (!pool->task_mq) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user