Table info for model_configs:
[
  {
    "cid": 0,
    "name": "id",
    "type": "varchar",
    "notnull": 1,
    "dflt_value": null,
    "pk": 1
  },
  {
    "cid": 1,
    "name": "name",
    "type": "TEXT",
    "notnull": 1,
    "dflt_value": null,
    "pk": 0
  },
  {
    "cid": 2,
    "name": "modelId",
    "type": "TEXT",
    "notnull": 1,
    "dflt_value": null,
    "pk": 0
  },
  {
    "cid": 3,
    "name": "baseUrl",
    "type": "TEXT",
    "notnull": 0,
    "dflt_value": null,
    "pk": 0
  },
  {
    "cid": 4,
    "name": "apiKey",
    "type": "TEXT",
    "notnull": 0,
    "dflt_value": null,
    "pk": 0
  },
  {
    "cid": 5,
    "name": "type",
    "type": "TEXT",
    "notnull": 1,
    "dflt_value": null,
    "pk": 0
  },
  {
    "cid": 6,
    "name": "dimensions",
    "type": "INTEGER",
    "notnull": 0,
    "dflt_value": null,
    "pk": 0
  },
  {
    "cid": 7,
    "name": "maxInputTokens",
    "type": "INTEGER",
    "notnull": 0,
    "dflt_value": "8191",
    "pk": 0
  },
  {
    "cid": 8,
    "name": "maxBatchSize",
    "type": "INTEGER",
    "notnull": 0,
    "dflt_value": "2048",
    "pk": 0
  },
  {
    "cid": 9,
    "name": "isVectorModel",
    "type": "boolean",
    "notnull": 1,
    "dflt_value": "0",
    "pk": 0
  },
  {
    "cid": 10,
    "name": "isEnabled",
    "type": "boolean",
    "notnull": 1,
    "dflt_value": "1",
    "pk": 0
  },
  {
    "cid": 11,
    "name": "providerName",
    "type": "TEXT",
    "notnull": 0,
    "dflt_value": null,
    "pk": 0
  },
  {
    "cid": 12,
    "name": "userId",
    "type": "varchar",
    "notnull": 0,
    "dflt_value": null,
    "pk": 0
  },
  {
    "cid": 13,
    "name": "created_at",
    "type": "datetime",
    "notnull": 1,
    "dflt_value": "datetime('now')",
    "pk": 0
  },
  {
    "cid": 14,
    "name": "updated_at",
    "type": "datetime",
    "notnull": 1,
    "dflt_value": "datetime('now')",
    "pk": 0
  },
  {
    "cid": 15,
    "name": "isDefault",
    "type": "boolean",
    "notnull": 1,
    "dflt_value": "0",
    "pk": 0
  },
  {
    "cid": 16,
    "name": "tenant_id",
    "type": "TEXT",
    "notnull": 0,
    "dflt_value": null,
    "pk": 0
  }
]
Sample data:
[
  {
    "id": "b32b4766-4a09-42b7-963a-45451d9125fc",
    "name": "qwen-plus",
    "modelId": "qwen-plus",
    "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
    "apiKey": "sk-4246c72ef248462d9d9df6f03d404db7",
    "type": "llm",
    "dimensions": 1536,
    "maxInputTokens": 8191,
    "maxBatchSize": 2048,
    "isVectorModel": 0,
    "isEnabled": 1,
    "providerName": null,
    "userId": "569f329a-2b0a-41b7-98d0-0d5837052bd4",
    "created_at": "2026-03-01 11:44:26",
    "updated_at": "2026-03-02 02:59:05",
    "isDefault": 0,
    "tenant_id": "00000000-0000-0000-0000-000000000000"
  },
  {
    "id": "ba088d6e-eb0e-4282-a06b-1d111cb04404",
    "name": "qwen3-vl-plus",
    "modelId": "qwen3-vl-plus",
    "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
    "apiKey": "sk-4246c72ef248462d9d9df6f03d404db7",
    "type": "vision",
    "dimensions": 1536,
    "maxInputTokens": 8191,
    "maxBatchSize": 2048,
    "isVectorModel": 0,
    "isEnabled": 1,
    "providerName": null,
    "userId": "569f329a-2b0a-41b7-98d0-0d5837052bd4",
    "created_at": "2026-03-02 02:59:41",
    "updated_at": "2026-03-02 02:59:41",
    "isDefault": 0,
    "tenant_id": "00000000-0000-0000-0000-000000000000"
  },
  {
    "id": "1020eb5f-e36d-4010-9c52-78a5693b3a23",
    "name": "text-embedding-v4",
    "modelId": "text-embedding-v4",
    "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
    "apiKey": "sk-4246c72ef248462d9d9df6f03d404db7",
    "type": "embedding",
    "dimensions": 1024,
    "maxInputTokens": 8191,
    "maxBatchSize": 2048,
    "isVectorModel": 0,
    "isEnabled": 1,
    "providerName": null,
    "userId": "569f329a-2b0a-41b7-98d0-0d5837052bd4",
    "created_at": "2026-03-02 03:00:13",
    "updated_at": "2026-03-04 12:36:03",
    "isDefault": 0,
    "tenant_id": "00000000-0000-0000-0000-000000000000"
  },
  {
    "id": "f4262505-4d62-4b86-98be-49b13ac69f93",
    "name": "qwen3-rerank",
    "modelId": "qwen3-rerank",
    "baseUrl": "https://dashscope.aliyuncs.com/compatible-api/v1/reranks",
    "apiKey": "sk-4246c72ef248462d9d9df6f03d404db7",
    "type": "rerank",
    "dimensions": 1536,
    "maxInputTokens": 8191,
    "maxBatchSize": 2048,
    "isVectorModel": 0,
    "isEnabled": 1,
    "providerName": null,
    "userId": "569f329a-2b0a-41b7-98d0-0d5837052bd4",
    "created_at": "2026-03-02 03:00:42",
    "updated_at": "2026-03-02 03:01:04",
    "isDefault": 0,
    "tenant_id": "00000000-0000-0000-0000-000000000000"
  }
]
