From 6cd7ab4719c8a859eebfcefcddac45f288b1e718 Mon Sep 17 00:00:00 2001 From: Charles Yao Date: Thu, 20 Nov 2025 21:18:25 -0600 Subject: [PATCH] Update api/models/tools.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- api/models/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/models/tools.py b/api/models/tools.py index 0e8cbaebec..bd8d5576a0 100644 --- a/api/models/tools.py +++ b/api/models/tools.py @@ -156,7 +156,7 @@ class EndUserAuthenticationProvider(TypeBase): ) # credential type, e.g., "api-key", "oauth2" credential_type: Mapped[str] = mapped_column( - String(32), nullable=False, server_default=sa.text("'api-key'::character varying"), default="api-key" + String(32), nullable=False, server_default=sa.text("'api-key'"), default="api-key" ) expires_at: Mapped[int] = mapped_column(sa.BigInteger, nullable=False, server_default=sa.text("-1"), default=-1)