Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(utils): 修复缓存未正确启用的问题 #513

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

theClassLight
Copy link
Contributor

  • 在 handle_cache 函数中添加了对 global_config 中 enable_l`lm_cache 设置的检查
  • 如果配置禁用了缓存,则直接返回 None -这个修改确保了在不需要缓存的情况下,函数能够正确地跳过缓存处理

- 在 handle_cache 函数中添加了对 global_config 中 enable_l`lm_cache 设置的检查
- 如果配置禁用了缓存,则直接返回 None
-这个修改确保了在不需要缓存的情况下,函数能够正确地跳过缓存处理
@LarFii LarFii merged commit 1d3d4c0 into HKUDS:main Dec 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants