mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
remove dead code
This commit is contained in:
parent
169bf8d4ea
commit
ff2a4246ab
1 changed files with 0 additions and 1 deletions
|
|
@ -73,7 +73,6 @@ def predict(message, state):
|
|||
content = response.choices[0].message.content
|
||||
|
||||
for message in arch_messages:
|
||||
# arch_msg = {"role": message["role"], "content": message.get("content", None), "model": message.get("model", None), "tool_calls": message.get("tool_calls", None), "tool_call_id": message.get("tool_call_id", None)}
|
||||
history.append(message)
|
||||
history.append({"role": "assistant", "content": content, "model": response.model})
|
||||
history_view = [h for h in history if h["role"] != "tool" and "content" in h]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue