Commit Graph

9 Commits

Author SHA1 Message Date
bigbrother666sh
3e07d63757 llm wrapper and prompt opz, base url bug, mp scraper opz 2025-01-18 13:47:47 +08:00
bigbrother666sh
dd7d92476e 0.3.7 release 2025-01-17 23:28:22 +08:00
bigbrother666sh
77c3914d12 method to seperate links area from content 2025-01-16 10:56:57 +08:00
Tusik
eec15ba037
feat: openai SDK使用异步客户端提升效率 (#182)
* feat: async tasks for get_more_related_urls

* feat: max LLM concurrent number

* fix(core/agents/get_info.py): 降低默认并发数量

* fix(get_info.py): 在部分模型指定response_format为json的情况下需要在prompt中显式的指明json格式

* fix: text长度不足的情况

* feat: 并发部分移动到openai_wapper

* ♻️ refactor(openai_wrapper.py): 重构异步LLM调用逻辑,优化异常处理和日志记录

- 将响应结果提取到`resp`变量中,避免重复代码
- 简化异常处理逻辑,确保`finally`块中释放信号量
- 优化日志记录位置,确保在返回结果前记录调试信息

* Update openai_wrapper.py

to resolve error raise by 'logger is None'
(This problem existed in the previous version. It was not caused by your code. I just modified it.)

Signed-off-by: bigbrother666 <96130569+bigbrother666sh@users.noreply.github.com>

---------

Signed-off-by: bigbrother666 <96130569+bigbrother666sh@users.noreply.github.com>
Co-authored-by: bigbrother666 <96130569+bigbrother666sh@users.noreply.github.com>
2025-01-08 09:56:08 +08:00
bigbrother666sh
61251547a0 first commit for V0.3.22 2024-12-05 12:11:28 +08:00
bigbrother666sh
61e3c042b4 repair openai wrapper 2024-10-10 20:23:58 +08:00
bigbrother666
f87b68e6b1
issues repair (#88)
* issues repair

* improve mp_alblum for #55

* prompt engineering for get info

* update to V0.3.1

* update to V0.3.1
2024-09-03 22:42:29 +08:00
bigbrother666
b1dad1533f code review 2024-06-14 09:08:12 +08:00
bigbrother666
fd633ae54d web dashboard 2024-06-13 21:08:58 +08:00