Created
July 3, 2025 12:24
-
-
Save dmc5179/9b95f32d968a21f6f19c0939ed0a9d26 to your computer and use it in GitHub Desktop.
DevWorkspace with Continue plugin configured
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
kind: DevWorkspace | |
apiVersion: workspace.devfile.io/v1alpha2 | |
metadata: | |
name: code-latest | |
spec: | |
started: true | |
template: | |
attributes: | |
.continue/config.json: | | |
{ | |
"models": [ | |
{ | |
"title": "On-prem granite-code 8B", | |
"model": "granite-code:8b", | |
"apiBase": "http://ollama.ollama.svc.cluster.local:11434", | |
"provider": "ollama" | |
} | |
], | |
"tabAutocompleteModel": { | |
"title": "granitecode", | |
"provider": "ollama", | |
"model": "granite-code:8b" | |
}, | |
"customCommands": [ | |
{ | |
"name": "test", | |
"prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.", | |
"description": "Write unit tests for highlighted code" | |
} | |
], | |
"allowAnonymousTelemetry": false | |
} | |
components: | |
- name: dev | |
container: | |
image: quay.io/devfile/universal-developer-image:latest | |
memoryLimit: 512Mi | |
memoryRequest: 256Mi | |
cpuRequest: 1000m | |
contributions: | |
- name: che-code | |
uri: https://eclipse-che.github.io/che-plugin-registry/main/v3/plugins/che-incubator/che-code/latest/devfile.yaml | |
components: | |
- name: che-code-runtime-description | |
container: | |
env: | |
- name: CODE_HOST | |
value: 0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment