Expand description
Global values and configuration that apply to all of FerricLink.
This module provides global settings similar to LangChain’s globals.py, but with Rust’s type safety and thread safety guarantees.
Structs§
- Global
Config - Global configuration state for FerricLink
Functions§
- clear_
llm_ cache - Clear the global LLM cache
- disable_
debug - Convenience function to disable debug mode
- disable_
verbose - Convenience function to disable verbose mode
- enable_
debug - Convenience function to enable debug mode
- enable_
verbose - Convenience function to enable verbose mode
- get_
debug - Get the global debug setting
- get_
globals - Get the global configuration instance
- get_
verbose - Get the global verbose setting
- globals_
summary - Get a summary of current global settings
- has_
llm_ cache - Check if LLM cache is enabled globally
- init_
globals - Initialize the global configuration
- is_
debug - Check if debug mode is enabled globally
- is_
verbose - Check if verbose mode is enabled globally
- reset_
globals - Reset all global settings to their default values
- set_
debug - Set the global debug setting
- set_
llm_ cache - Set the global LLM cache
- set_
verbose - Set the global verbose setting
- toggle_
debug - Convenience function to toggle debug mode
- toggle_
verbose - Convenience function to toggle verbose mode