()
| 54 | ) |
| 55 | |
| 56 | func (bt BlockType) String() string { |
| 57 | switch bt { |
| 58 | case BlockTool: |
| 59 | return "tool" |
| 60 | case BlockMemory: |
| 61 | return "memory" |
| 62 | case BlockConversation: |
| 63 | return "conversation" |
| 64 | case BlockWorking: |
| 65 | return "working" |
| 66 | case BlockSystem: |
| 67 | return "system" |
| 68 | default: |
| 69 | return "unknown" |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | type Manager struct { |
| 74 | mu sync.RWMutex |