Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: codegen-sh/codegen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: develop
Choose a base ref
...
head repository: Zeeeepa/codegen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 13 commits
  • 30 files changed
  • 2 contributors

Commits on Feb 16, 2026

  1. Update agent.py

    Zeeeepa authored Feb 16, 2026
    Configuration menu
    Copy the full SHA
    6156022 View commit details
    Browse the repository at this point in the history
  2. 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]>
    codegen-sh[bot] and Zeeeepa committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    38ca8ef View commit details
    Browse the repository at this point in the history
  3. 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]>
    codegen-sh[bot] and Zeeeepa committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    1edad1c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cc68412 View commit details
    Browse the repository at this point in the history
  5. 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]>
    codegen-sh[bot] and Zeeeepa committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    49f5332 View commit details
    Browse the repository at this point in the history
  6. docs: Add PR description template

    Co-authored-by: Zeeeepa <[email protected]>
    codegen-sh[bot] and Zeeeepa committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    d4aef44 View commit details
    Browse the repository at this point in the history
  7. Add files via upload

    Zeeeepa authored Feb 16, 2026
    Configuration menu
    Copy the full SHA
    c748a90 View commit details
    Browse the repository at this point in the history
  8. 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]>
    codegen-sh[bot] and Zeeeepa committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    48b3ef6 View commit details
    Browse the repository at this point in the history
  9. 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]>
    codegen-sh[bot] and Zeeeepa committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    43fba71 View commit details
    Browse the repository at this point in the history
  10. 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]>
    codegen-sh[bot] and Zeeeepa committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    7bef494 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2026

  1. 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]>
    codegen-sh[bot] and Zeeeepa committed Feb 17, 2026
    Configuration menu
    Copy the full SHA
    47b6f74 View commit details
    Browse the repository at this point in the history
  2. 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]>
    codegen-sh[bot] and Zeeeepa committed Feb 17, 2026
    Configuration menu
    Copy the full SHA
    3a48404 View commit details
    Browse the repository at this point in the history
  3. 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
    Zeeeepa authored Feb 17, 2026
    Configuration menu
    Copy the full SHA
    c9c4d87 View commit details
    Browse the repository at this point in the history
Loading