Skip to content

Commit 76c623a

Browse files
committedDec 9, 2024
refactor!: add llm prefix to model
1 parent 6ca9ba4 commit 76c623a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ await fetch('http://127.0.0.1:1188/translate', {
106106
| Environment | Default | Description |
107107
|---|---|---|
108108
| ARPK_PORT | 1188 | The port the server will listen on |
109-
| ARPK_MODEL | llama3.1 | Model to be used by the ARPK |
110109
| ARPK_TOKEN | null | Access token to protect your API |
111-
| ARPK_LLM_BASE_URL | http://127.0.0.1:11434/v1/ | OpenAI-compatible API base url |
112110
| ARPK_LLM_API_KEY | null | OpenAI-compatible API key |
111+
| ARPK_LLM_BASE_URL | http://127.0.0.1:11434/v1/ | OpenAI-compatible API base url |
112+
| ARPK_LLM_MODEL | llama3.1 | Model to be used by the ARPK |
113113
| ARPK_SYSTEM_PROMPT | https://github.com/moeru-ai/arpk/blob/main/src/lib/prompts.ts | System prompt |
114114
| ARPK_SOURCE_LANG | null | Translate source language (cli only, `--from`) |
115115
| ARPK_TARGET_LANG | null | Translate target language (cli only, `--to`) |

‎src/flags.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const flags = {
1212
type: String,
1313
},
1414
model: {
15-
default: env.ARPK_MODEL ?? 'llama3.2',
15+
default: env.ARPK_LLM_MODEL ?? 'llama3.2',
1616
type: String,
1717
},
1818
} satisfies Command['options']['flags']

0 commit comments

Comments
 (0)
Please sign in to comment.