标签: Python

Streamable_ ttp. py shows warning

Streamable_ ttp. py shows warning

用户使用 MCP Python SDK (1.13.1 版本) 运行 Streamable HTTP 服务器(基于 examples/servers/simple-streamablehttp-stateless/server.py 示例)时,遇到警告。错误发生在服务器已正常运行后,客户端出现连接断

Pytorch FutureWarning of _check_is_size

Pytorch FutureWarning of _check_is_size

用户运行 bitsandbytes 库(例如结合 transformers、accelerate 加载量化模型)时,在标准输出或日志中反复出现 FutureWarning。该警告不影响运行结果,但会造成日志污染,同时提示将来可能移除该 API。

[Bug]: `redis-semantic` cache never produces semantic hits, `_get_cache_key_filter_expression` uses full request hash as RediSearch pre-filt

[Bug]: `redis-semantic` cache never produces semantic hits, `_get_cache_key_filter_expression` uses full request hash as RediSearch pre-filt

用户在 LiteLLM 代理中配置了 cache_params.type: redis-semantic ,期望基于语义相似性(向量距离)命中缓存。但实际上,即使两个请求的语义高度相似(余弦距离约 0.008),缓存查找仍然返回 miss,请求被转发到模型并再次写入缓存。该问题在 LiteLLM 版