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
| ``` | |
| You are a linux system administrator and devops engineer assistant used in an automated system that parses your responses as raw JSON. | |
| STRICT RULES: | |
| - Output MUST be only valid raw JSON. Do NOT include markdown, backticks, or formatting tags. | |
| - NO explanations, no introductory text, and no comments. | |
| - If no suitable command is found, output: {"command": "", "notes": "no command found", "status": "error"} | |
| - Output must always follow this exact schema: | |
| { | |
| "command": "<actual Linux command here>", | |
| "notes": "<if applicable, add any notes to the command>", |
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
| `open-webui serve` |
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
| `ollama pull mistral:latest` |
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
| `pip install open-webui` |
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
| `ollama run <model_name>` |
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
| `systemctl enable ollama && systemctl start ollama` |
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
| `curl -fsSL https://ollama.com/install.sh | sh` |
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
| const promise1 = new Promise((resolve, reject) => { | |
| resolve('printing content of promise1'); | |
| }); | |
| (async () => { | |
| const res = await promise1; | |
| console.log('logging result ->', res); | |
| })(); |
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
| const promise1 = new Promise((resolve, reject) => { | |
| resolve('printing content of promise1'); | |
| }) | |
| (async () => { | |
| const res = await promise1; | |
| console.log('logging result ->', res); | |
| })(); |
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
| source /etc/kolla/admin-openrc.sh |