Rat

Results issues of Rat

### Problem When `StarTools.get_data_dir()` is called without arguments, the framework attempts to deduce the calling plugin name using `inspect.stack()`. Under certain environments (such as dynamic reloading, testing shims, or direct...

### 问题描述 当在配置中指定了专属的 `topic_provider_id` 等模型时,如果该模型虽然存在、但运行时不可用(如遇到 429 限流、401 鉴权失败、服务端无容量或 Key 冷却),原始逻辑会在该模型上耗尽所有重试次数并放弃分析,不会继续降级到默认模型。 ### 修复与重构方案(基于统一尝试队列) 本次更新对重试逻辑进行了彻底重构,放弃了初版的补丁式改法。 **逻辑说明:** 将 `[指定模型重试N次]` 和 `[降级默认模型重试N次]` 组合成一个统一的 `attempt_queue` 队列。并将核心的并发限流、断路器、请求组装代码提取为独立的闭包 `_execute_llm_request`。 **优势与深度优化:** 1. **彻底消除重复代码**:符合 DRY 原则,主循环极其干净。 2. **指数退避与抖动 (Exponential...

### 1. 问题描述 当使用 Google Gemini 的新版嵌入模型 `gemini-embedding-2` 进行批量文本嵌入时(例如同步记忆索引)会触发 `IndexError: list index out of range`。 ### 2. 报错堆栈 (Traceback) ```python [components.faiss_memory_index:250]: [FAISS向量索引] 开始 任务名=批量向量化 index=memory_index provider_id=gemini_embedding embedding_model=gemini_embedding 条数=32 [services.memory_vector_sync_service:38]: [FAISS向量索引]...

area:provider

### 1. 问题描述 当使用 Google Gemini 的新版嵌入模型 `gemini-embedding-2` 进行批量文本嵌入时(例如同步记忆索引)会触发 `IndexError: list index out of range`。 ### 2. 报错堆栈 (Traceback) ```python [components.faiss_memory_index:250]: [FAISS向量索引] 开始 任务名=批量向量化 index=memory_index provider_id=gemini_embedding embedding_model=gemini_embedding 条数=32 [services.memory_vector_sync_service:38]: [FAISS向量索引]...

area:provider