NewStore creates a new empty Store.
()
| 28 | |
| 29 | // NewStore creates a new empty Store. |
| 30 | func NewStore() *Store { |
| 31 | return &Store{tools: make(map[string]ObservedTool)} |
| 32 | } |
| 33 | |
| 34 | // Record parses the tools array from a raw JSON request body and stores |
| 35 | // each tool's name and schema. format must be "openai" or "claude". |
no outgoing calls