Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .config.example
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
PROJECTS=project_1,project_2,project_3
PROJECTS=project_1,project_2,project_3
OLLAMA_API_URL="http://localhost:11434"
OLLAMA_MODEL="llama3.3"
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
.config
.config
*/.ruff_cache/*
*/.venv/*
*/__pycache__/*
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,22 @@ Note: For AWS helpers, the AWS CLI is required for these commands to work.
- Use force=true to skip confirmation prompt
- Example: `tn heroku-delete-pipeline my-project true`

### Ollama as a local LLM
Use `tn update-config` <arg> <arg> to set a basic config the default for the local ollama is http://localhost:11434. You should be setting

```
OLLAMA_API_URL="http://localhost:11434"
OLLAMA_MODEL="llama3.3"
```

- `tn ollama-serve`: serve a local llm server this is needed to run any commands
- `tn ollama-pull`: When working locally if you want to try a model you have to pull it
- `tn ollama-run`: Run an interactive chat with the local ollama server
- `tn ollama-codegen message`: Use the code gen specific cli (WIP)
optional args: `--api_url=""` use a custom url other than the default (eg ngrok)
`--model=""` use a custom model the default is qwen2.5-coder:7b


## Contributing New Commands - aka "Recipes"

It's easy to contribute new commands to tn-cli, simply add some commands to the `justfile` and open a Pull Request.
Expand Down
Loading