Changeset 0.22.7 (#149)
This commit is contained in:
@@ -86,7 +86,7 @@ func (s *CatalogStore) GetByModelID(ctx context.Context, providerConfigID, model
|
||||
}
|
||||
|
||||
// GetByModelIDAny returns the most recently synced catalog entry for a model_id
|
||||
// across any provider. Used to resolve capabilities for presets with auto-resolve
|
||||
// across any provider. Used to resolve capabilities for personas with auto-resolve
|
||||
// (no specific provider_config_id).
|
||||
func (s *CatalogStore) GetByModelIDAny(ctx context.Context, modelID string) (*models.CatalogEntry, error) {
|
||||
row := DB.QueryRowContext(ctx,
|
||||
|
||||
@@ -20,7 +20,7 @@ func SetDB(db *sql.DB) {
|
||||
|
||||
// ── Dynamic SQL Builder ─────────────────────
|
||||
// Replaces the copy-pasted addClause/addField pattern
|
||||
// found in admin.go, presets.go, team_providers.go, apiconfigs.go.
|
||||
// found in admin.go, personas.go, team_providers.go, apiconfigs.go.
|
||||
|
||||
// UpdateBuilder constructs a dynamic UPDATE statement.
|
||||
type UpdateBuilder struct {
|
||||
|
||||
Reference in New Issue
Block a user