kth8 commited on
Commit
e16b4d4
·
verified ·
1 Parent(s): e11a965

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +21 -0
README.md CHANGED
@@ -21,6 +21,27 @@ Trained with the exact system prompt OpenCode's [title agent uses](https://raw.g
21
 
22
  ## Usage example
23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  **System prompt**
25
  ```
26
  You are a title generator. You output ONLY a thread title. Nothing else.
 
21
 
22
  ## Usage example
23
 
24
+ Point to this model with `small_model` in `opencode.jsonc` file.
25
+
26
+ ```json
27
+ {
28
+ "$schema": "https://opencode.ai/config.json",
29
+ "provider": {
30
+ "title": {
31
+ "npm": "@ai-sdk/openai-compatible",
32
+ "options": {
33
+ "baseURL": "http://127.0.0.1:8080/v1",
34
+ "apiKey": "not-needed"
35
+ },
36
+ "models": {
37
+ "generator": {}
38
+ }
39
+ }
40
+ },
41
+ "small_model": "title/generator"
42
+ }
43
+ ```
44
+
45
  **System prompt**
46
  ```
47
  You are a title generator. You output ONLY a thread title. Nothing else.