-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/codex #6
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
12 commits
Select commit
Hold shift + click to select a range
7f04f3f
Add Codex configuration and update VS Code extensions for improved fu…
DevNiall 26fe6f7
Update Codex configuration and restored missing devcontainer features
DevNiall 540f1dd
Update VS Code commit hash description and enhance tag generation log…
DevNiall 4fcb815
Feature/continue (#5)
DevNiall 9846fc0
Refactor tag generation logic in build-devcontainer.yml for improved …
DevNiall 61733ac
Refactor tag generation logic in build-devcontainer.yml to simplify P…
DevNiall 7c632e4
Update VS Code extensions installation script and add pre-release ext…
DevNiall 633f724
Fix formatting of VS Code extension installation for ms-ossdata.vscod…
DevNiall 931e00c
Update npm-package feature in devcontainer.json to include multiple p…
DevNiall c45a754
Update npm-packages feature in devcontainer.json to correct package f…
DevNiall 311263e
Update VS Code commit ID in Dockerfile for compatibility with the lat…
DevNiall d991445
Apply suggestions from code review
DevNiall 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
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 |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| # Default Codex Configuration for gpt-oss:20b via Ollama | ||
| # This configuration sets up Codex to use the gpt-oss:20b model through a local Ollama instance | ||
|
|
||
| # Default model to use | ||
| model = "gpt-oss:20b" | ||
|
|
||
| # Default model provider | ||
| model_provider = "ollama" | ||
|
|
||
| # Approval policy - change to "never" for fully automated operation, or "untrusted" for safety | ||
| # approval_policy = "untrusted" | ||
| approval_policy = "on-request" | ||
|
|
||
| # Sandbox mode for security | ||
| # sandbox_mode = "read-only" | ||
| sandbox_mode = "workspace-write" | ||
|
|
||
| # Model provider configurations | ||
| [model_providers.ollama] | ||
| # Display name for the provider | ||
| name = "Ollama Local" | ||
|
|
||
| # Base URL for Ollama API (default local installation) | ||
| # Change this if your Ollama instance is running on a different host/port | ||
| base_url = "http://host.containers.internal:11434/v1" | ||
|
|
||
| # Environment variable for API key (Ollama typically doesn't require authentication for local usage) | ||
| # You can set OLLAMA_API_KEY if your setup requires it, or remove this line | ||
| # env_key = "OLLAMA_API_KEY" | ||
|
|
||
| # Use the chat completions API (compatible with OpenAI API format) | ||
| wire_api = "chat" | ||
|
|
||
| # Optional: Additional configuration | ||
| # request_max_retries = 4 | ||
| # stream_max_retries = 5 | ||
|
|
||
| # Optional: Custom HTTP headers if needed | ||
| # [model_providers.ollama.http_headers] | ||
| # "User-Agent" = "Codex-CLI/1.0" | ||
|
|
||
| # Optional: Query parameters if needed | ||
| # [model_providers.ollama.query_params] | ||
| # "stream" = "true" | ||
|
|
||
| # History configuration | ||
| [history] | ||
| persistence = "save-all" | ||
|
|
||
| # File opener configuration for VS Code integration | ||
| file_opener = "vscode" | ||
|
|
||
| # Optional: Hide reasoning events for cleaner output | ||
| # hide_agent_reasoning = true | ||
|
|
||
| # Optional: MCP servers configuration (uncomment and configure as needed) | ||
| # [mcp_servers.example-server] | ||
| # command = "npx" | ||
| # args = ["-y", "@your/mcp-server"] | ||
| # env = { "API_KEY" = "your-api-key" } | ||
|
|
||
| # Optional: Custom instructions file | ||
| # experimental_instructions_file = "/path/to/your/instructions.md" | ||
|
|
||
| # Optional: TUI configuration | ||
| [tui] | ||
| notifications = false | ||
|
|
||
| # Optional: Shell environment policy | ||
| [shell_environment_policy] | ||
| inherit = "core" | ||
| ignore_default_excludes = false | ||
| exclude = [] | ||
| set = {} |
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 |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| name: Local Assistant | ||
| version: 1.0.0 | ||
| schema: v1 | ||
| models: | ||
| # - name: Llama 3.1 8B | ||
| # model: llama3.1:8b | ||
| # provider: openai | ||
| # apiBase: ${{ secrets.OPENWEB_BASE_URL }} | ||
| # apiKey: ${{ secrets.OPENWEB_API_KEY }} | ||
| # roles: | ||
| # - chat | ||
| # - edit | ||
| # - apply | ||
|
|
||
| - name: gemma3 4B | ||
| model: gemma3:4b | ||
| provider: openai | ||
| apiBase: ${{ secrets.OPENWEB_BASE_URL }} | ||
| apiKey: ${{ secrets.OPENWEB_API_KEY }} | ||
| roles: | ||
| - chat | ||
| - edit | ||
| - apply | ||
| - autocomplete | ||
|
|
||
| - name: deepseek-r1 8b | ||
| model: deepseek-r1:8b | ||
| provider: openai | ||
| apiBase: ${{ secrets.OPENWEB_BASE_URL }} | ||
| apiKey: ${{ secrets.OPENWEB_API_KEY }} | ||
| roles: | ||
| - chat | ||
| - edit | ||
| - apply | ||
|
|
||
| - name: qwen3 8B | ||
| model: qwen3:8b | ||
|
DevNiall marked this conversation as resolved.
|
||
| provider: openai | ||
| apiBase: ${{ secrets.OPENWEB_BASE_URL }} | ||
| apiKey: ${{ secrets.OPENWEB_API_KEY }} | ||
| roles: | ||
| - chat | ||
| - edit | ||
| - apply | ||
| - autocomplete | ||
|
|
||
| - name: Nomic Embed | ||
| model: nomic-embed-text:latest | ||
| provider: openai | ||
| apiBase: ${{ secrets.OPENWEB_BASE_URL }} | ||
| apiKey: ${{ secrets.OPENWEB_API_KEY }} | ||
| embedOptions: | ||
| maxChunkSize: 8192 | ||
| roles: | ||
| - embed | ||
|
|
||
| - name: Qwen 2.5b Autocomplete Model | ||
| model: qwen2.5-coder:1.5b | ||
| provider: openai | ||
| apiBase: ${{ secrets.OPENWEB_BASE_URL }} | ||
| apiKey: ${{ secrets.OPENWEB_API_KEY }} | ||
| roles: | ||
| - chat | ||
| - edit | ||
| - apply | ||
| - autocomplete | ||
| defaultCompletionOptions: | ||
| contextLength: 32768 | ||
| maxTokens: 8192 | ||
|
|
||
| - name: gpt-oss-20b | ||
| provider: openai | ||
| model: gpt-oss:20b | ||
| apiBase: ${{ secrets.OPENWEB_BASE_URL }} | ||
| apiKey: ${{ secrets.OPENWEB_API_KEY }} | ||
| roles: | ||
| - chat | ||
| - edit | ||
| - apply | ||
|
|
||
| # - name: Qwen3-Coder-30B-A3B-Instruct | ||
| # provider: openai | ||
| # model: qwen3-coder:30b | ||
| # apiBase: ${{ secrets.OPENWEB_BASE_URL }} | ||
| # apiKey: ${{ secrets.OPENWEB_API_KEY }} | ||
| # roles: | ||
| # - chat | ||
| # - edit | ||
| # - apply | ||
|
|
||
| context: | ||
| - provider: code | ||
| - provider: currentFile | ||
| - provider: codebase | ||
| - provider: docs | ||
| - provider: diff | ||
| - provider: file | ||
| - provider: problems | ||
| - provider: repo-map | ||
| - provider: terminal | ||
| - provider: tree | ||
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 |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| # Open WebUI | ||
| OPENWEB_BASE_URL=http://host.containers.internal:11434/v1 |
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
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
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
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.