mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-16 14:40:56 +00:00
feat(core): Support simple DB query for sdk (#917)
Co-authored-by: chengfangyin2 <chengfangyin3@jd.com>
This commit is contained in:
@@ -266,19 +266,3 @@ class Config(metaclass=Singleton):
|
||||
self.MODEL_CACHE_STORAGE_DISK_DIR: str = os.getenv(
|
||||
"MODEL_CACHE_STORAGE_DISK_DIR"
|
||||
)
|
||||
|
||||
def set_debug_mode(self, value: bool) -> None:
|
||||
"""Set the debug mode value"""
|
||||
self.debug_mode = value
|
||||
|
||||
def set_templature(self, value: int) -> None:
|
||||
"""Set the temperature value."""
|
||||
self.temperature = value
|
||||
|
||||
def set_speak_mode(self, value: bool) -> None:
|
||||
"""Set the speak mode value."""
|
||||
self.speak_mode = value
|
||||
|
||||
def set_last_plugin_return(self, value: bool) -> None:
|
||||
"""Set the speak mode value."""
|
||||
self.last_plugin_return = value
|
||||
|
Reference in New Issue
Block a user