MCPcopy Create free account
hub / github.com/X-PLUG/MobileAgent / init_memory_chat

Function init_memory_chat

PC-Agent/PCAgent/chat.py:26–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def 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
33def add_response_old(role, prompt, chat_history, image=None):

Callers 2

run.pyFile · 0.90
run_v1.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected