Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CL-lau/SQL-GPT
/ addAnswer
Method
addAnswer
utils/message_content.py:34–35 ·
view source on GitHub ↗
(self, answer: str)
Source
from the content-addressed store, hash-verified
32
self.conversations.append(conversation)
33
34
def
addAnswer(self, answer: str):
35
self.conversations[-1][
"answer"
] = answer
36
37
def
covert(self) -> str:
38
return
simplejson.dumps(self.conversations)
Callers
1
__init__
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected