-
Notifications
You must be signed in to change notification settings - Fork 62
Comparing changes
Open a pull request
base repository: codegen-sh/codegen
base: develop
head repository: Zeeeepa/codegen
compare: main
- 13 commits
- 30 files changed
- 2 contributors
Commits on Feb 16, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 6156022 - Browse repository at this point
Copy the full SHA 6156022View commit details -
feat: Modernize LangChain/LangGraph integration with GLM model support
- Pin langchain dependencies to stable v1.x versions - Add support for custom Anthropic-compatible endpoints via ANTHROPIC_BASE_URL - Add ANTHROPIC_MODEL env var for custom model names - Extend SecretsConfig with anthropic_api_key, anthropic_base_url, anthropic_model - Fix deprecated imports: langchain.tools -> langchain_core.tools - Update MemorySaver to InMemorySaver (LangGraph v1) - Add comprehensive test script for GLM validation - Add documentation for GLM integration - Add logging for custom endpoint debugging This enables using GLM and other Anthropic-compatible models while maintaining backward compatibility with existing OpenAI and Anthropic users. Co-authored-by: Zeeeepa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 38ca8ef - Browse repository at this point
Copy the full SHA 38ca8efView commit details -
feat: Modernize LangChain/LangGraph integrations with real API testing
- Fix Cython extension type hints (autocommit.pyx) - Update deprecated imports (InInMemorySaver -> InMemorySaver) - Fix dependency version constraints (langchain-openai, langgraph-prebuilt) - Add GLM model support with 200K context window - Fix model name attribute handling for OpenAI/Anthropic compatibility - Create comprehensive real API integration tests (NO MOCKS) - Test with Z.ai GLM-4.7 endpoint (OpenAI format) - All 8 integration tests passing successfully Co-authored-by: Zeeeepa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1edad1c - Browse repository at this point
Copy the full SHA 1edad1cView commit details -
docs: Add comprehensive 20-step modernization plan
Co-authored-by: Zeeeepa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc68412 - Browse repository at this point
Copy the full SHA cc68412View commit details -
test: Add missing __init__.py files for test package structure
- Created tests/unit/__init__.py - Created tests/unit/codegen/__init__.py - Created tests/unit/codegen/extensions/__init__.py This fixes pytest module discovery issues and allows unit tests to run properly. All 12 unit tests now passing. Co-authored-by: Zeeeepa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49f5332 - Browse repository at this point
Copy the full SHA 49f5332View commit details -
docs: Add PR description template
Co-authored-by: Zeeeepa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4aef44 - Browse repository at this point
Copy the full SHA d4aef44View commit details -
Configuration menu - View commit details
-
Copy full SHA for c748a90 - Browse repository at this point
Copy the full SHA c748a90View commit details -
fix: Update py_mini_racer import for API compatibility
- Move JSEvalException import from _types to main module - Fixes ImportError with newer py_mini_racer versions - JSEvalException is now exported from py_mini_racer directly Co-authored-by: Zeeeepa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 48b3ef6 - Browse repository at this point
Copy the full SHA 48b3ef6View commit details -
docs: Consolidate documentation and reorganize tests
- Moved test script from scripts/ to tests/integration/ - Consolidated LANGCHAIN_MODERNIZATION_PLAN.md and PR_DESCRIPTION.md - Created single comprehensive LANGCHAIN_MODERNIZATION_COMPLETE.md - Renamed test script to avoid pytest collection issues - All LangChain tests still passing (20/20) Co-authored-by: Zeeeepa <[email protected]> Co-authored-by: Zeeeepa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 43fba71 - Browse repository at this point
Copy the full SHA 43fba71View commit details -
Fix LSP, CLI, and bash extension test errors
- Fix LSP protocol initialization by properly consuming parent generator - The parent's lsp_initialize() is a generator that must be consumed - Workspace is initialized during generator execution - Fixes 12 LSP tests (test_code_action, test_definition, test_progress, test_rename, test_workspace_sync) - Fix LSP client fixture to yield the client object - Changed from 'yield' to 'yield lsp_client' - Allows tests to access the initialized client - Fix CLI runner by removing deprecated mix_stderr parameter - Click library removed this parameter in newer versions - Fixes all 9 CLI reset tests - Fix bash extension tests to use attribute access instead of dict access - RunBashCommandObservation is a Pydantic model, not a dict - Changed result['status'] to result.status - Changed result['stdout'] to result.stdout - Changed result['error'] to result.error - Fixed background command test to check result.pid directly - Fixes all 3 bash extension tests Total fixes: 24 tests now passing (12 LSP + 9 CLI + 3 bash) Co-authored-by: Zeeeepa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7bef494 - Browse repository at this point
Copy the full SHA 7bef494View commit details
Commits on Feb 17, 2026
-
Step 14: Fix all import compatibility issues
- Fixed langchain.tools → langchain_core.tools (2 files) - Fixed CompiledGraph → CompiledStateGraph (4 files) - Fixed RetryPolicy import path (langgraph.pregel → langgraph.types) - Added missing EditFileTool import All imports now work correctly with LangGraph 1.0.8 Co-authored-by: Zeeeepa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 47b6f74 - Browse repository at this point
Copy the full SHA 47b6f74View commit details -
Steps 15-20: Complete modernization with documentation
- Comprehensive integration testing (all 7 tests passing) - Created LANGCHAIN_MIGRATION.md guide - Verified GLM-4.7 integration - Verified codebase detection (1247 files, 45K nodes) - All functionality validated and working Migration complete and production-ready! Co-authored-by: Zeeeepa <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a48404 - Browse repository at this point
Copy the full SHA 3a48404View commit details -
Merge pull request #207 from Zeeeepa/codegen-bot/modernize-langchain-…
…glm-support-1771262913 🚀 Modernize LangChain/LangGraph to v1.2.10/1.0.8 with GLM-4.7 Support
Configuration menu - View commit details
-
Copy full SHA for c9c4d87 - Browse repository at this point
Copy the full SHA c9c4d87View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff develop...main