{"agent":"codex","input":"Upgrade LangChain in this Streamlit app to the current release. Read requirements.txt, requirements-dev.txt, Chatbot.py, every file under pages/, app_test.py, .ruff.toml and .github/workflows/app-testing.yml first. Install the current langchain, langchain-openai and langchain-community in a fresh virtual environment and read their deprecation notes for every symbol the pages import. Move the imports to their current packages, replace direct model calls with invoke, rebuild the search agent on the current agent constructor while keeping the Streamlit callback handler, and replace any model name the provider no longer serves, calling that out as a behaviour change. Leave the File Q&A page alone since it does not use LangChain. Update app_test.py to patch the new class and method, run ruff check . and pytest app_test.py, start streamlit run Chatbot.py headless and open each changed page in a browser to confirm it renders without an API key. Pin the versions you tested in requirements.txt and open a pull request listing every import moved, the test output and the one behaviour change.","resources":[{"url":"https://github.com/your-org/your-app"}]}