-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new: implemented new --user-only argument for openai/o1 models
- Loading branch information
1 parent
15a99b3
commit 5ebae31
Showing
10 changed files
with
87 additions
and
46 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -31,17 +31,19 @@ Nerve features integrations for any model accessible via the following providers | |
|----------|----------------------------|------------------| | ||
| **Ollama** | - | `ollama://llama3@localhost:11434` | | ||
| **Groq** | `GROQ_API_KEY` | `groq://llama3-70b-8192` | | ||
| **OpenAI** | `OPENAI_API_KEY` | `openai://gpt-4` | | ||
| **OpenAI**¹ | `OPENAI_API_KEY` | `openai://gpt-4` | | ||
| **Fireworks** | `LLM_FIREWORKS_KEY` | `fireworks://llama-v3-70b-instruct` | | ||
| **Huggingface**¹ | `HF_API_TOKEN` | `hf://[email protected]` | | ||
| **Huggingface**² | `HF_API_TOKEN` | `hf://[email protected]` | | ||
| **Anthropic** | `ANTHROPIC_API_KEY` | `anthropic://claude` | | ||
| **Nvidia NIM** | `NIM_API_KEY` | `nim://nvidia/nemotron-4-340b-instruct` | | ||
| **DeepSeek** | `DEEPSEEK_API_KEY` | `deepseek://deepseek-chat` | | ||
| **xAI** | `XAI_API_KEY` | `xai://grok-beta` | | ||
| **Mistral.ai** | `MISTRAL_API_KEY` | `mistral://mistral-large-latest` | | ||
| **Novita** | `NOVITA_API_KEY` | `novita://meta-llama/llama-3.1-70b-instruct` | | ||
|
||
¹ Refer to [this document](https://huggingface.co/blog/tgi-messages-api#using-inference-endpoints-with-openai-client-libraries) for how to configure a custom Huggingface endpoint. | ||
¹ **o1-preview and o1 models do not support function calling directly** and do not support a system prompt. It is possible to workaround this by adding the `--user-only` flag to the command line. | ||
|
||
² Refer to [this document](https://huggingface.co/blog/tgi-messages-api#using-inference-endpoints-with-openai-client-libraries) for how to configure a custom Huggingface endpoint. | ||
|
||
## Installing with Cargo | ||
|
||
|
This file contains 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 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 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 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 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 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 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 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 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