()
| 24 | |
| 25 | |
| 26 | def init_memory_chat(): |
| 27 | operation_history = [] |
| 28 | system_prompt = "You are a helpful AI PC operating assistant." |
| 29 | operation_history.append(["system", [{"type": "text", "text": system_prompt}]]) |
| 30 | return operation_history |
| 31 | |
| 32 | |
| 33 | def add_response_old(role, prompt, chat_history, image=None): |