mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
Relocate the mutually-dependent LLM config layer and the LiteLLM prompt-caching
helper to the shared kernel as one unit, rewiring their internal cross-reference
to the shared paths. Flip 21 non-frozen importers. Re-export shims remain at
new_chat/{llm_config,prompt_caching}.py for the frozen single-agent stack
(chat_deepagent); they will be removed when that stack is retired.
13 lines
419 B
Python
13 lines
419 B
Python
"""Backward-compatible shim.
|
|
|
|
The LiteLLM prompt-caching helper now lives in the shared agent kernel at
|
|
``app.agents.shared.prompt_caching``. This module re-exports it so frozen
|
|
single-agent code (``chat_deepagent``) keeps working until that stack is
|
|
retired.
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from app.agents.shared.prompt_caching import apply_litellm_prompt_caching
|
|
|
|
__all__ = ["apply_litellm_prompt_caching"]
|