rename sidercall.py to llmcore.py; add cache-aware cd to compress_history_tags
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
- Python 3.8+
|
||||
- 本项目完整代码
|
||||
- LLM API 密钥(Claude/OpenAI 等,已在 `sidercall/mykeys` 中配置)
|
||||
- LLM API 密钥(Claude/OpenAI 等,已在 `llmcore/mykeys` 中配置)
|
||||
|
||||
### 安装依赖
|
||||
|
||||
@@ -177,7 +177,7 @@ fs_allowed_users = [
|
||||
|
||||
### 确认 LLM 配置
|
||||
|
||||
确保 `sidercall/mykeys` 中已配置 LLM API 密钥:
|
||||
确保 `llmcore/mykeys` 中已配置 LLM API 密钥:
|
||||
|
||||
```python
|
||||
# 示例:Claude API
|
||||
|
||||
@@ -5,7 +5,7 @@ from pathlib import Path
|
||||
import subprocess
|
||||
import tempfile
|
||||
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
||||
from sidercall import SiderLLMSession, LLMSession, ToolClient
|
||||
from llmcore import SiderLLMSession, LLMSession, ToolClient
|
||||
|
||||
|
||||
ask = SiderLLMSession().ask
|
||||
|
||||
Reference in New Issue
Block a user