bots-garden/mini-mepublic Fork
⑂ v1.1.0
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/mini-me.git
git clone ssh://git@rickub.com/bots-garden/mini-me.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
🛟 Updated. a8d612a · on v1.1.0 · k33g · 27d ago
coding-helpers-unload-option-flow.svg · 66 lines · 7.4 KBXML Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="640" viewBox="0 0 1200 640" font-family="DejaVu Sans, Verdana, sans-serif">
  <defs>
    <linearGradient id="gBg" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#FFFFFF"/><stop offset="100%" stop-color="#EEF2FA"/></linearGradient>
    <linearGradient id="gBlue" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#E3F2FD"/><stop offset="100%" stop-color="#BBDEFB"/></linearGradient>
    <linearGradient id="gBlue2" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#E1F5FE"/><stop offset="100%" stop-color="#B3E5FC"/></linearGradient>
    <linearGradient id="gPurple" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#F3E5F5"/><stop offset="100%" stop-color="#E1BEE7"/></linearGradient>
    <linearGradient id="gYellow" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#FFFDE7"/><stop offset="100%" stop-color="#FFF9C4"/></linearGradient>
    <linearGradient id="gGrey" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#ECEFF1"/><stop offset="100%" stop-color="#CFD8DC"/></linearGradient>
    <filter id="shadow" x="-30%" y="-30%" width="160%" height="160%"><feDropShadow dx="2" dy="3" stdDeviation="4" flood-color="#000000" flood-opacity="0.25"/></filter>
    <marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#37474F"/></marker>
  </defs>
  <rect x="0" y="0" width="1200" height="640" fill="url(#gBg)"/>
  <text x="600.0" y="38" text-anchor="middle" font-size="25" font-weight="700" fill="#1A237E">coding-helpers-unload-option — the models take turns</text>
  <text x="600.0" y="61" text-anchor="middle" font-size="14" font-style="italic" fill="#546E7A">unloadModels: true on an mmConfigs entry: mm itself unloads a model at each hand-off, no hook</text>
  <path d="M200,205 L250,205" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <path d="M470,205 L570,205" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <path d="M810,205 L910,205" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <path d="M1040,275 L1040,390" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <path d="M910,455 L730,455" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <path d="M470,455 L115,455 L115,265" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <g filter="url(#shadow)"><rect x="30" y="145" width="170" height="120" rx="16" fill="url(#gBlue)" stroke="#1565C0" stroke-width="2"/></g>
  <text x="115.0" y="193.5" text-anchor="middle" font-size="22">🧑</text>
  <text x="115.0" y="216.5" text-anchor="middle" font-size="16" font-weight="700" fill="#0D47A1">You</text>
  <text x="115.0" y="234.5" text-anchor="middle" font-size="11.5" fill="#0D47A1">a Go or Rust question</text>
  <g filter="url(#shadow)"><rect x="250" y="135" width="220" height="140" rx="16" fill="url(#gPurple)" stroke="#6A1B9A" stroke-width="3"/></g>
  <text x="360.0" y="176.5" text-anchor="middle" font-size="22">🔀</text>
  <text x="360.0" y="199.5" text-anchor="middle" font-size="16" font-weight="700" fill="#4A148C">Coordinator</text>
  <text x="360.0" y="217.5" text-anchor="middle" font-size="11.5" fill="#4A148C">MiniCPM5 2B · 1.6 GB</text>
  <text x="360.0" y="234.5" text-anchor="middle" font-size="11.5" fill="#4A148C">agent.yaml</text>
  <text x="360.0" y="251.5" text-anchor="middle" font-size="11.5" fill="#4A148C">ask_agent go / rust</text>
  <rect x="422.8" y="123" width="57.2" height="24" rx="12" fill="#6A1B9A"/>
  <text x="451.40000000000003" y="139" text-anchor="middle" font-size="11.5" font-weight="700" fill="#FFFFFF">★ asks</text>
  <g filter="url(#shadow)"><rect x="570" y="140" width="240" height="130" rx="16" fill="url(#gYellow)" stroke="#F9A825" stroke-width="2"/></g>
  <text x="690.0" y="185.0" text-anchor="middle" font-size="22">⚙️</text>
  <text x="690.0" y="208.0" text-anchor="middle" font-size="16" font-weight="700" fill="#E65100">1 · mm unloads</text>
  <text x="690.0" y="226.0" text-anchor="middle" font-size="11.5" fill="#E65100">the COORDINATOR's model</text>
  <text x="690.0" y="243.0" text-anchor="middle" font-size="11.5" fill="#E65100">before the specialist starts</text>
  <g filter="url(#shadow)"><rect x="910" y="135" width="260" height="140" rx="16" fill="url(#gBlue2)" stroke="#0277BD" stroke-width="2"/></g>
  <text x="1040.0" y="176.5" text-anchor="middle" font-size="22">🤖</text>
  <text x="1040.0" y="199.5" text-anchor="middle" font-size="16" font-weight="700" fill="#01579B">Specialist go / rust</text>
  <text x="1040.0" y="217.5" text-anchor="middle" font-size="11.5" fill="#01579B">Mellum2 12B · 8.1 GB</text>
  <text x="1040.0" y="234.5" text-anchor="middle" font-size="11.5" fill="#01579B">agent.go.yaml / agent.rust.yaml</text>
  <text x="1040.0" y="251.5" text-anchor="middle" font-size="11.5" fill="#01579B">loaded alone · answers</text>
  <g filter="url(#shadow)"><rect x="910" y="390" width="260" height="130" rx="16" fill="url(#gYellow)" stroke="#F9A825" stroke-width="2"/></g>
  <text x="1040.0" y="435.0" text-anchor="middle" font-size="22">⚙️</text>
  <text x="1040.0" y="458.0" text-anchor="middle" font-size="16" font-weight="700" fill="#E65100">2 · mm unloads</text>
  <text x="1040.0" y="476.0" text-anchor="middle" font-size="11.5" fill="#E65100">the SPECIALIST's model</text>
  <text x="1040.0" y="493.0" text-anchor="middle" font-size="11.5" fill="#E65100">once it has answered</text>
  <g filter="url(#shadow)"><rect x="470" y="390" width="260" height="130" rx="16" fill="url(#gPurple)" stroke="#6A1B9A" stroke-width="3"/></g>
  <text x="600.0" y="435.0" text-anchor="middle" font-size="22">🔀</text>
  <text x="600.0" y="458.0" text-anchor="middle" font-size="16" font-weight="700" fill="#4A148C">Coordinator</text>
  <text x="600.0" y="476.0" text-anchor="middle" font-size="11.5" fill="#4A148C">MiniCPM5 reloads alone</text>
  <text x="600.0" y="493.0" text-anchor="middle" font-size="11.5" fill="#4A148C">reads the answer · replies</text>
  <rect x="482.0" y="193.0" width="76" height="24" rx="5" fill="#FFFFFF"/>
  <text x="520" y="209.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">ask_agent</text>
  <rect x="825.0" y="193.0" width="70" height="24" rx="5" fill="#FFFFFF"/>
  <text x="860" y="209.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">question</text>
  <rect x="1008.0" y="320.0" width="64" height="24" rx="5" fill="#FFFFFF"/>
  <text x="1040" y="336.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">answer</text>
  <rect x="783.0" y="443.0" width="64" height="24" rx="5" fill="#FFFFFF"/>
  <text x="815" y="459.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">answer</text>
  <rect x="275.0" y="443.0" width="50" height="24" rx="5" fill="#FFFFFF"/>
  <text x="300" y="459.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">reply</text>
  <text x="600" y="568" text-anchor="middle" font-size="12" fill="#455A64" font-style="italic">Each unload: POST /api/generate {"model": …, "keep_alive": 0} on that agent's server, shown as a line on screen.</text>
  <text x="600" y="596" text-anchor="middle" font-size="12" fill="#455A64" font-style="italic">Measured on llmman (/api/ps every 0.5 s): MiniCPM5 → nothing → Mellum2 → nothing → MiniCPM5 · Rust 31 s · Go 79 s.</text>
</svg>