Skip to content

Commit 8a99fde

Browse files
committed
drop anyscale
1 parent e0524ed commit 8a99fde

File tree

4 files changed

+2
-32
lines changed

4 files changed

+2
-32
lines changed

.vscode/launch.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717
"args": ["-llm=replicate", "give me some python code to classify images"],
1818
"envFile": "${workspaceFolder}/.env",
1919
},
20-
{
21-
"name": "🖥️ start anyscale 🖥️",
22-
"type": "go",
23-
"request": "launch",
24-
"program": "${workspaceFolder}/cmd/moki/moki.go",
25-
"args": ["-llm=anyscale", "give me some python code to classify images"],
26-
"envFile": "${workspaceFolder}/.env",
27-
},
2820
{
2921
"name": "🖥️ conversation 🖥️",
3022
"type": "go",
@@ -43,15 +35,6 @@
4335
"envFile": "${workspaceFolder}/.env",
4436
"console": "integratedTerminal",
4537
},
46-
{
47-
"name": "🖥️ anyscale conversation 🖥️",
48-
"type": "go",
49-
"request": "launch",
50-
"program": "${workspaceFolder}/cmd/moki/moki.go",
51-
"args": ["-c", "-llm=anyscale"],
52-
"envFile": "${workspaceFolder}/.env",
53-
"console": "integratedTerminal",
54-
},
5538
{
5639
"name": "🖥️ run moki with stdin 🖥️",
5740
"type": "go",

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Conversation mode can explain code snippets, generate unit tests, and scaffold n
1717
- Set your API key as an environment variable:
1818
```bash
1919
export OPENAI_API_KEY=<your key>
20-
export ANYSCALE_API_KEY=<your key>
2120
export REPLICATE_API_TOKEN=<your key>
2221
```
2322

@@ -39,7 +38,6 @@ Conversation mode can explain code snippets, generate unit tests, and scaffold n
3938
## Configuration
4039
- There are a few options for the API provider:
4140
- OpenAI (https://platform.openai.com/docs/overview)
42-
- Anyscale (https://www.anyscale.com/endpoints)
4341
- Replicate (https://replicate.com/docs)
4442
```
4543
Flags:
@@ -55,12 +53,6 @@ Model Options:
5553
- [Default] gpt-3.5-turbo, aka: turbo35
5654
- gpt-4-turbo, aka: turbo
5755
- gpt-4o, aka: gpt4o
58-
- Anyscale:
59-
- [Default] meta-llama-3-8b, aka: l3-8b
60-
- meta-llama-3-70b, aka: l3-70b
61-
- mistralai/Mixtral-8x7B-Instruct-v0.1, aka: m8x7b
62-
- mistralai/Mistral-7B-Instruct-v0.1, aka: m7b
63-
- codellama/CodeLlama-70b-Instruct-hf, aka: cl70b
6456
- Replicate:
6557
- [Default] meta-llama-3-8b, aka: l3-8b
6658
- meta-llama-3-8b-instruct, aka: l3-8b-instruct
@@ -79,7 +71,6 @@ moki -c
7971
By default the assistant will use OpenAI. To use another, run the assistant with a flag.
8072
```bash
8173
moki -llm=openai
82-
moki -llm=anyscale
8374
moki -llm=replicate
8475
```
8576

cmd/moki/moki.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func main() {
4242
// Define the flags
4343
helpFlag := flag.Bool("h", false, "Show this message")
4444
convFlag := flag.Bool("c", false, "Start a conversation with Moki")
45-
aiFlag := flag.String("llm", string(aiutil.Anyscale), "Selct the LLM provider, either OpenAI, Anyscale, or Replicate")
45+
aiFlag := flag.String("llm", string(aiutil.OpenAI), "Selct the LLM provider, either OpenAI or Replicate")
4646
modelFlag := flag.String("m", "", "Set the model to use for the LLM response")
4747
temperatureFlag := flag.Float64("t", aiutil.DefaultTemp, "Set the temperature for the LLM response")
4848
maxTokensFlag := flag.Int("max-tokens", aiutil.DefaultMaxTokens, "Set the maximum number of tokens to generate per response")

internal/tools/tools.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ Flags:
4444
4545
API Keys:
4646
- export OPENAI_API_KEY=<your key>
47-
- export ANYSCALE_API_KEY=<your key>
4847
- export REPLICATE_API_TOKEN=<your key>
4948
5049
Model Options:
@@ -57,8 +56,5 @@ Model Options:
5756
- meta-llama-3-8b-instruct, aka: l3-8b-instruct
5857
- meta-llama-3-70b, aka: l3-70b
5958
- meta-llama-3-70b-instruct, aka: l3-70b-instruct
60-
- Anyscale:
61-
- [Default] mistralai/Mixtral-8x7B-Instruct-v0.1, aka: m8x7b (default)
62-
- mistralai/Mistral-7B-Instruct-v0.1, aka: m7b
63-
- codellama/CodeLlama-70b-Instruct-hf, aka: cl70b
59+
6460
`

0 commit comments

Comments
 (0)