From 384dfc229250cf93d6f549e2554d531385044d28 Mon Sep 17 00:00:00 2001 From: R-Mathis Date: Mon, 24 Jun 2024 13:28:37 +0200 Subject: [PATCH] add text bison support for pr agent --- pr_agent/algo/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pr_agent/algo/__init__.py b/pr_agent/algo/__init__.py index 11a5cbbc..2b19a829 100644 --- a/pr_agent/algo/__init__.py +++ b/pr_agent/algo/__init__.py @@ -27,6 +27,7 @@ MAX_TOKENS = { 'vertex_ai/claude-3-sonnet@20240229': 100000, 'vertex_ai/claude-3-opus@20240229': 100000, 'vertex_ai/google/gemini-1.5-pro' : 1048576, + 'vertex_ai/text-bison@002' : 8192, 'codechat-bison': 6144, 'codechat-bison-32k': 32000, 'anthropic.claude-instant-v1': 100000,