Turn on web search for RAG
All checks were successful
release / docker (push) Successful in 22s

This commit is contained in:
estromenko 2025-11-30 13:56:30 +03:00
parent 80ddee9378
commit c053a5676d

View File

@ -86,7 +86,7 @@ async def next_vacancy(update: Update, context: ContextTypes.DEFAULT_TYPE):
async def prompt(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: async with AsyncPostgresSaver.from_conn_string(DB_URI) as checkpointer:
chat_model = ChatOpenAI( chat_model = ChatOpenAI(
model_name="openai/gpt-5-mini", model_name="openai/gpt-5-mini:online",
openai_api_base="https://openrouter.ai/api/v1", openai_api_base="https://openrouter.ai/api/v1",
) )
agent = create_agent( agent = create_agent(