Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Tele-AI/Telechat
/ update
Method
update
models/7B/generation_utils.py:43–45 ·
view source on GitHub ↗
(self, content: str)
Source
from the content-addressed store, hash-verified
41
return
x
42
43
def
update(self, content: str):
44
x = self.input_history.pop()
45
self.append({
"role"
: x[
"role"
],
"content"
: content})
46
47
def
__len__(self):
48
return
self.input_history.__len__()
Callers
7
process
Function · 0.45
prepare_inputs_for_generation
Method · 0.45
chat
Method · 0.45
_transfer_from_list
Method · 0.45
append
Method · 0.45
append_left
Method · 0.45
on_finalized_text
Method · 0.45
Calls
2
append
Method · 0.95
pop
Method · 0.45
Tested by
no test coverage detected