Commit b4e6fe4
authored
✨Feat:Enhance prompt optimization by integrating openjiuwen and fix related bugs (#3190)
* ✨Feat:add prompt optimization
* 🐛Bugfix: dockerbuild failed when running pipefail in python3_11
* 🔨Optimize: Optimize prompt optimization display page and interaction methods
* 🐛Bugfix: fix dependencies replication
* 🎨:Optimize frontend prompts and loading interface
* 🔧 Refactor: Update imports and remove redundant ENABLE_JIUWEN_SDK import in prompt_service.py
* 🔧 Refactor: Correct import path for NexentCapabilityError and enhance test coverage for prompt optimization service
* 🔧 Refactor: Update import paths for exception handling and improve logging formatting in prompt_service.py
* 🔧 Refactor: Simplify lazy imports in jiuwen_sdk_adapter.py and update import paths in prompt_service.py
* 🔧 Refactor: Enhance Jiuwen SDK adapter handling and improve test stubs in prompt_service.py and related test files
* 🧪test:Pydantic model for PromptTemplateRequest in test_prompt_template_app.py
* 🔧 Refactor: Remove unnecessary dependency exclusions from pyproject.toml
* 🔧 Update: Upgrade huggingface_hub dependency version in pyproject.toml
* 🔧 Update: Exclude unnecessary transitive dependencies and adjust huggingface_hub version in pyproject.toml
* 🔧 Test: Add mock modules for unstructured inference and set up package paths in test files
* 🔧 Test: Enhance test setup by adding optional SDK mocks and cleaning up module imports in data processing tests
* 🔧 Test: Consolidate mock module setup for unstructured inference across multiple test files
* 🔧 Test: Remove unused optional SDK mocks from test configuration
* 🔧 Refactor: Clean up imports and enhance dynamic loading of fastmcp components in Docker client
* 📦update:sdk dependence update1 parent 9de2bd5 commit b4e6fe4
40 files changed
Lines changed: 2515 additions & 194 deletions
File tree
- .github/workflows
- backend
- adapters
- apps
- consts
- services
- frontend
- app/[locale]/agents/components/agentInfo
- public/locales
- en
- zh
- services
- types
- make
- data_process
- main
- mcp
- sdk
- nexent
- container
- test
- backend
- app
- services
- sdk/data_process
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments