modified README.md +30 -3
| @@ -17,9 +17,9 @@ Run this: |
| 17 | 17 | llama serve -hf JetBrains/Mellum2-12B-A2.5B-Instruct-GGUF-Q4_K_M:Q4_K_M |
| 18 | 18 | ``` |
| 19 | 19 | |
| 20 | | - |
| 20 | + |
| 21 | 21 | |
| 22 | | - |
| 22 | + |
| 23 | 23 | |
| 24 | 24 | |
| 25 | 25 | ### Check the `llama.cpp server` |
| @@ -48,5 +48,32 @@ curl http://localhost:8080/v1/chat/completions \ |
| 48 | 48 | |
| 49 | 49 | **`agent.yaml`**: |
| 50 | 50 | ```yaml |
| 51 | | - |
| 51 | +providers: |
| 52 | + llamacpp: |
| 53 | + api_type: openai_chatcompletions |
| 54 | + base_url: http://localhost:8080/v1 |
| 55 | + |
| 56 | +models: |
| 57 | + mellum2: |
| 58 | + provider: llamacpp |
| 59 | + model: JetBrains/Mellum2-12B-A2.5B-Instruct-GGUF-Q4_K_M:Q4_K_M |
| 60 | + #max_tokens: 8192 |
| 61 | + temperature: 0.7 |
| 62 | + provider_opts: |
| 63 | + context_size: 262144 |
| 64 | + |
| 65 | +agents: |
| 66 | + root: |
| 67 | + model: mellum2 |
| 68 | + description: A helpful AI assistant running on a local llama.cpp server |
| 69 | + instruction: | |
| 70 | + You name is Bob 🤓, you are a knowledgeable code assistant that helps users with various tasks. |
| 71 | + Be helpful, accurate, and concise in your responses. |
| 72 | + You have access to the local filesystem and shell: use these tools |
| 73 | + welcome_message: | |
| 74 | + 🤖 Local Assistant propulsed by **llama.cpp** 🦙 |
| 75 | + |
| 76 | + toolsets: |
| 77 | + - type: filesystem |
| 78 | + - type: shell |
| 52 | 79 | ``` |
| | \ No newline at end of file |
| @@ -17,9 +17,9 @@ Run this: |
| 17 | llama serve -hf JetBrains/Mellum2-12B-A2.5B-Instruct-GGUF-Q4_K_M:Q4_K_M | 17 | llama serve -hf JetBrains/Mellum2-12B-A2.5B-Instruct-GGUF-Q4_K_M:Q4_K_M |
| 18 | ``` | 18 | ``` |
| 19 | | 19 | |
| 20 | - | 20 | + |
| 21 | | 21 | |
| 22 | - | 22 | + |
| 23 | | 23 | |
| 24 | | 24 | |
| 25 | ### Check the `llama.cpp server` | 25 | ### Check the `llama.cpp server` |
| @@ -48,5 +48,32 @@ curl http://localhost:8080/v1/chat/completions \ |
| 48 | | 48 | |
| 49 | **`agent.yaml`**: | 49 | **`agent.yaml`**: |
| 50 | ```yaml | 50 | ```yaml |
| 51 | - | 51 | +providers: |
| | 52 | + llamacpp: |
| | 53 | + api_type: openai_chatcompletions |
| | 54 | + base_url: http://localhost:8080/v1 |
| | 55 | + |
| | 56 | +models: |
| | 57 | + mellum2: |
| | 58 | + provider: llamacpp |
| | 59 | + model: JetBrains/Mellum2-12B-A2.5B-Instruct-GGUF-Q4_K_M:Q4_K_M |
| | 60 | + #max_tokens: 8192 |
| | 61 | + temperature: 0.7 |
| | 62 | + provider_opts: |
| | 63 | + context_size: 262144 |
| | 64 | + |
| | 65 | +agents: |
| | 66 | + root: |
| | 67 | + model: mellum2 |
| | 68 | + description: A helpful AI assistant running on a local llama.cpp server |
| | 69 | + instruction: | |
| | 70 | + You name is Bob 🤓, you are a knowledgeable code assistant that helps users with various tasks. |
| | 71 | + Be helpful, accurate, and concise in your responses. |
| | 72 | + You have access to the local filesystem and shell: use these tools |
| | 73 | + welcome_message: | |
| | 74 | + 🤖 Local Assistant propulsed by **llama.cpp** 🦙 |
| | 75 | + |
| | 76 | + toolsets: |
| | 77 | + - type: filesystem |
| | 78 | + - type: shell |
| 52 | ``` | 79 | ``` |
| \ No newline at end of file | | \ No newline at end of file |
modified agent.yaml +0 -1
| @@ -21,7 +21,6 @@ agents: |
| 21 | 21 | Be helpful, accurate, and concise in your responses. |
| 22 | 22 | You have access to the local filesystem and shell: use these tools |
| 23 | 23 | welcome_message: | |
| 24 | | - |
| 25 | 24 | 🤖 Local Assistant propulsed by **llama.cpp** 🦙 |
| 26 | 25 | |
| 27 | 26 | toolsets: |
| @@ -21,7 +21,6 @@ agents: |
| 21 | Be helpful, accurate, and concise in your responses. | 21 | Be helpful, accurate, and concise in your responses. |
| 22 | You have access to the local filesystem and shell: use these tools | 22 | You have access to the local filesystem and shell: use these tools |
| 23 | welcome_message: | | 23 | welcome_message: | |
| 24 | - | | |
| 25 | 🤖 Local Assistant propulsed by **llama.cpp** 🦙 | 24 | 🤖 Local Assistant propulsed by **llama.cpp** 🦙 |
| 26 | | 25 | |
| 27 | toolsets: | 26 | toolsets: |