Skip to content

fix: update DeepSeek demo adapter import#706

Draft
Bortlesboat wants to merge 1 commit into
hsliuping:mainfrom
Bortlesboat:codex/fix-deepseek-demo-import
Draft

fix: update DeepSeek demo adapter import#706
Bortlesboat wants to merge 1 commit into
hsliuping:mainfrom
Bortlesboat:codex/fix-deepseek-demo-import

Conversation

@Bortlesboat

Copy link
Copy Markdown

Summary

  • update examples/demo_deepseek_analysis.py to import the existing deepseek_adapter module
  • use the existing create_deepseek_llm factory instead of the missing deepseek_direct_adapter
  • add a static regression test that verifies example adapter imports point at real adapter modules and exported names

Validation

  • uv run --no-sync pytest tests/test_demo_deepseek_analysis_imports.py -q
  • uv run --no-sync python -m py_compile examples/demo_deepseek_analysis.py tests/test_demo_deepseek_analysis_imports.py
  • git diff --check

Fixes #702

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.

[BUG] examples/demo_deepseek_analysis.py 导入不存在的模块 deepseek_direct_adapter 导致 ModuleNotFoundError

1 participant