Skip to content

Conversation

@zlu
Copy link

@zlu zlu commented Dec 16, 2025

No description provided.

zlu added 5 commits December 16, 2025 14:56
- Replace deprecated langchain imports with langchain-community
  - Update ChatOpenAI import to langchain_community.chat_models
  - Update get_openai_callback import to langchain_community.callbacks
- Add python-dotenv for .env file support
- Make API keys optional at import time (only required when using specific models)
  - OPENAI_API_KEY only required for OpenAI models (default)
  - GOOGLE_API_KEY only required when using 'gemini' model
- Add clear error messages when required API keys are missing
- Update requirements.txt to include langchain-community and python-dotenv
- Upgrade pandas from 2.0.1 to >=2.1.0 (fixes compilation errors on Python 3.13)
- Upgrade gradio from 3.50.2 to >=6.0.0 (includes audioop-lts for Python 3.13)
- Upgrade datasets from 2.15.0 to >=4.0.0 (fixes HfFolder import error with newer huggingface_hub)
…tories globally

- Add .env to ignore environment files
- Add **/__pycache__/ to ignore Python cache directories
- Add database/**/*.txt to ignore text files in database directory
- Use global patterns for .pyc, .ipynb, and .DS_Store files
- Consolidate CSV ignore pattern to database/**/*.csv
- Integrate ChatOllama into Planner, ReactPlanner, ReactReflectPlanner, and ReactAgent
- Route models with names starting with 'ollama:' to local Ollama server
- Add debug logging of LLM backend in Planner
- Add ollama Python client to requirements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant