From c053a5676d685d3c5ae2ea5e5db00df346aca0ac Mon Sep 17 00:00:00 2001 From: estromenko Date: Sun, 30 Nov 2025 13:56:30 +0300 Subject: [PATCH] Turn on web search for RAG --- vacancies/main/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vacancies/main/bot.py b/vacancies/main/bot.py index 291138e..af05132 100644 --- a/vacancies/main/bot.py +++ b/vacancies/main/bot.py @@ -86,7 +86,7 @@ async def next_vacancy(update: Update, context: ContextTypes.DEFAULT_TYPE): async def prompt(update: Update, context: ContextTypes.DEFAULT_TYPE): async with AsyncPostgresSaver.from_conn_string(DB_URI) as checkpointer: chat_model = ChatOpenAI( - model_name="openai/gpt-5-mini", + model_name="openai/gpt-5-mini:online", openai_api_base="https://openrouter.ai/api/v1", ) agent = create_agent(