Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/666ghj/BettaFish
/ validate_response
Method
validate_response
InsightEngine/llms/base.py:157–160 ·
view source on GitHub ↗
(response: Optional[str])
Source
from the content-addressed store, hash-verified
155
156
@staticmethod
157
def
validate_response(response: Optional[str]) -> str:
158
if
response is None:
159
return
""
160
return
response.strip()
161
162
def
get_model_info(self) -> Dict[str, Any]:
163
return
{
Callers
1
invoke
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected