Skip to content

Commit

Permalink
Fix typos (#27)
Browse files Browse the repository at this point in the history
Found via `typos --hidden --format brief`
  • Loading branch information
kianmeng authored Dec 20, 2023
1 parent 31044d3 commit 154811e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ All notable changes to this project will be documented in this file.

### 📚 Documentation

- Readd choco - ([bd12825](https://github.com/dustinblackman/oatmeal/commit/bd12825f7252ebc886a1af5650b89fc2c4fb35b5))
- Re-add choco - ([bd12825](https://github.com/dustinblackman/oatmeal/commit/bd12825f7252ebc886a1af5650b89fc2c4fb35b5))
- Push users towards the editors section - ([bda11c4](https://github.com/dustinblackman/oatmeal/commit/bda11c4a959a98174c7ddf7f75c25f4f55b7d7d6))
- Organize README - ([663d65b](https://github.com/dustinblackman/oatmeal/commit/663d65bb8200c48bb7b8cad55fba3e36c2c35740))

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Options:
--ollama-url <ollama-url>
Ollama API URL when using the Ollama backend. [env: OATMEAL_OLLAMA_URL=] [default: http://localhost:11434]
--openai-url <openai-url>
OpenAI API URL when using the OpenAI backend. Can be swapped to a compatiable proxy. [env: OATMEAL_OPENAI_URL=] [default: https://api.openai.com]
OpenAI API URL when using the OpenAI backend. Can be swapped to a compatible proxy. [env: OATMEAL_OPENAI_URL=] [default: https://api.openai.com]
--openai-token <openai-token>
OpenAI API token when using the OpenAI backend. [env: OATMEAL_OPENAI_TOKEN=]
-h, --help
Expand Down Expand Up @@ -204,7 +204,7 @@ The `CODE_BLOCK_NUMBER` allows you to select several code blocks to send back to

The following model backends are supported:

- [OpenAI](https://chat.openai.com) (Or any compatiable proxy/API)
- [OpenAI](https://chat.openai.com) (Or any compatible proxy/API)
- [Ollama](https://github.com/jmorganca/ollama)

### Editors
Expand Down Expand Up @@ -247,7 +247,7 @@ Options:
-t, --theme <theme> Sets code syntax highlighting theme. [env: OATMEAL_THEME=] [default: base16-onedark] [possible values: base16-github, base16-monokai, base16-one-light, base16-onedark, base16-seti]
--theme-file <theme-file> Absolute path to a TextMate tmTheme to use for code syntax highlighting. [env: OATMEAL_THEME_FILE=]
--ollama-url <ollama-url> Ollama API URL when using the Ollama backend. [env: OATMEAL_OLLAMA_URL=] [default: http://localhost:11434]
--openai-url <openai-url> OpenAI API URL when using the OpenAI backend. Can be swapped to a compatiable proxy. [env: OATMEAL_OPENAI_URL=] [default: https://api.openai.com]
--openai-url <openai-url> OpenAI API URL when using the OpenAI backend. Can be swapped to a compatible proxy. [env: OATMEAL_OPENAI_URL=] [default: https://api.openai.com]
--openai-token <openai-token> OpenAI API token when using the OpenAI backend. [env: OATMEAL_OPENAI_TOKEN=]
-h, --help Print help
```
Expand Down
2 changes: 1 addition & 1 deletion src/application/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ fn build() -> Command {
.long("openai-url")
.env("OATMEAL_OPENAI_URL")
.num_args(1)
.help("OpenAI API URL when using the OpenAI backend. Can be swapped to a compatiable proxy.")
.help("OpenAI API URL when using the OpenAI backend. Can be swapped to a compatible proxy.")
.default_value("https://api.openai.com")
.global(true),
)
Expand Down
2 changes: 1 addition & 1 deletion src/domain/services/app_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl<'a> AppState<'a> {
.push(Message::new_with_type(
Author::Oatmeal,
MessageType::Error,
format!("Model {model_name} doesn't exist for backend {backend_name}. You can use `/modellist` to view all avaiable models, and `/model NAME` to switch models.").as_str(),
format!("Model {model_name} doesn't exist for backend {backend_name}. You can use `/modellist` to view all available models, and `/model NAME` to switch models.").as_str(),
));
}
}
Expand Down

0 comments on commit 154811e

Please sign in to comment.