Spaces:
Running
Running
File size: 630 Bytes
1635e66 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | """
HF Agent - Main agent module
"""
import litellm
# Global LiteLLM behavior — set once at package import so both CLI and
# backend entries share the same config.
# drop_params: quietly drop unsupported params rather than raising
# suppress_debug_info: hide the noisy "Give Feedback" banner on errors
# modify_params: let LiteLLM patch provider-specific schema requirements
# for router-compatible request bodies when possible.
litellm.drop_params = True
litellm.suppress_debug_info = True
litellm.modify_params = True
from agent.core.agent_loop import submission_loop # noqa: E402
__all__ = ["submission_loop"]
|