-
Notifications
You must be signed in to change notification settings - Fork 61
feat: support setting language for the extension #837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
61a0116
Enables AI extension integration
KariHall619 e45ac15
fix: restore critical AI plugin integration fixes
KariHall619 05cd94d
Simplifies chunking config
KariHall619 85a21a6
fix: Clarifies AI model name description
KariHall619 81359b5
refactor(testdata): Update stores.yaml configuration to support more …
KariHall619 95a5496
Removes AI plugin build process
KariHall619 6171a02
refactor: address code review feedback
KariHall619 be856f5
refactor: align ui helpers with code quality guidance
KariHall619 aaec7e2
Remove deprecated temperature parameter from AI plugin configuration
KariHall619 8b25996
Fix socket file cleanup in StopAll method
KariHall619 f0ba6d2
Simplify AI query parameter encoding
KariHall619 2608ab6
Fixes extension loading and data handling
KariHall619 8e45762
Removes unused happy-dom dependencies
KariHall619 3826187
refactor: call plugin mount with single argument and sync locale
KariHall619 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,88 @@ | ||
| stores: | ||
| - name: git | ||
| kind: | ||
| name: atest-store-git | ||
| enabled: true | ||
| url: xxx | ||
| readonly: false | ||
| disabled: false | ||
| - name: ai | ||
| kind: | ||
| name: atest-ext-ai | ||
| enabled: true | ||
| url: "" | ||
| readonly: false | ||
| disabled: false | ||
| properties: | ||
| - name: git | ||
| kind: | ||
| name: atest-store-git | ||
| dependencies: [] | ||
| url: "unix:///tmp/atest-store-git.sock" | ||
| params: [] | ||
| link: "" | ||
| enabled: true | ||
| categories: [] | ||
| description: "" | ||
| url: xxx | ||
| username: "" | ||
| password: "" | ||
| readonly: false | ||
| disabled: false | ||
| properties: {} | ||
| - name: ai | ||
| kind: | ||
| name: atest-ext-ai | ||
| dependencies: [] # 无依赖 | ||
| url: "unix:///tmp/atest-ext-ai.sock" | ||
| params: | ||
| - key: "provider" | ||
| description: "AI provider (local, openai, claude)" | ||
| defaultValue: "local" | ||
| - key: "model" | ||
| description: "AI model name" | ||
| defaultValue: "codellama" | ||
| description: "AI provider (ollama, openai, deepseek)" | ||
| defaultValue: "ollama" | ||
| - key: "endpoint" | ||
| description: "AI service endpoint" | ||
| description: "AI service endpoint URL" | ||
| defaultValue: "http://localhost:11434" | ||
| plugins: | ||
| - name: atest-store-git | ||
| url: unix:///tmp/atest-store-git.sock | ||
| enabled: true | ||
| - name: atest-ext-ai | ||
| url: unix:///tmp/atest-ext-ai.sock | ||
| - key: "api_key" | ||
| description: "API key for OpenAI/Deepseek providers" | ||
| defaultValue: "" | ||
| - key: "model" | ||
| description: "AI model name (auto-discovered for ollama)" | ||
| defaultValue: "" | ||
| - key: "max_tokens" | ||
| description: "Maximum tokens for AI generation" | ||
| defaultValue: "4096" | ||
| - key: "timeout" | ||
| description: "Request timeout duration" | ||
| defaultValue: "30s" | ||
| link: "https://github.com/LinuxSuRen/atest-ext-ai" | ||
| enabled: true | ||
| description: "AI Extension Plugin for intelligent SQL generation and execution" | ||
| version: "latest" | ||
| registry: "ghcr.io/linuxsuren/atest-ext-ai" | ||
| categories: ["ai", "sql-generation"] | ||
| description: "AI Extension Plugin for natural language to SQL conversion" | ||
| url: "unix:///tmp/atest-ext-ai.sock" | ||
| username: "" | ||
| password: "" | ||
| readonly: false | ||
| disabled: false | ||
| properties: | ||
| provider: "ollama" | ||
| endpoint: "http://localhost:11434" | ||
| api_key: "" | ||
| model: "" | ||
| max_tokens: "4096" | ||
| timeout: "30s" | ||
|
|
||
| plugins: | ||
| - name: atest-store-git | ||
| dependencies: [] | ||
| url: "unix:///tmp/atest-store-git.sock" | ||
| params: [] | ||
| link: "" | ||
| enabled: true | ||
| categories: [] | ||
| - name: atest-ext-ai | ||
| dependencies: [] | ||
| url: "unix:///tmp/atest-ext-ai.sock" | ||
| params: | ||
| - key: "provider" | ||
| description: "AI provider (ollama, openai, deepseek)" | ||
| defaultValue: "ollama" | ||
| - key: "endpoint" | ||
| description: "AI service endpoint" | ||
| defaultValue: "http://localhost:11434" | ||
| - key: "api_key" | ||
| description: "API key for external AI services" | ||
| defaultValue: "" | ||
| - key: "model" | ||
| description: "AI model name (auto-discovered for ollama)" | ||
| defaultValue: "" | ||
| link: "https://github.com/LinuxSuRen/atest-ext-ai" | ||
| enabled: true | ||
| categories: ["ai", "sql-generation"] | ||
| description: "AI Extension Plugin for natural language to SQL conversion" | ||
| version: "v0.1.0" | ||
| registry: "ghcr.io/linuxsuren/atest-ext-ai" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.