FindMatchingPresetID finds a preset ID that is the largest exact subset of the provided parameters. It returns the preset ID if a match is found, or NULL if no match is found. The query finds presets where all preset parameters are present in the provided parameters, and returns the preset with the
(ctx context.Context, arg FindMatchingPresetIDParams)
| 256 | // The query finds presets where all preset parameters are present in the provided parameters, |
| 257 | // and returns the preset with the most parameters (largest subset). |
| 258 | FindMatchingPresetID(ctx context.Context, arg FindMatchingPresetIDParams) (uuid.UUID, error) |
| 259 | GetAIBridgeInterceptionByID(ctx context.Context, id uuid.UUID) (AIBridgeInterception, error) |
| 260 | // Look up the parent interception and the root of the thread by finding |
| 261 | // which interception recorded a tool usage with the given tool call ID. |
no outgoing calls