Initial commit, first public version.
This commit is contained in:
7
src/aichat/Dockerfile
Normal file
7
src/aichat/Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM rust:latest
|
||||
|
||||
RUN rustup target add x86_64-unknown-linux-musl
|
||||
RUN apt update && apt install -y musl-tools musl-dev
|
||||
RUN update-ca-certificates
|
||||
|
||||
RUN cargo install --target x86_64-unknown-linux-musl aichat
|
||||
8
src/aichat/config.yaml
Normal file
8
src/aichat/config.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
# see https://github.com/sigoden/aichat/blob/main/config.example.yaml
|
||||
|
||||
model: ollama
|
||||
clients:
|
||||
- type: openai-compatible
|
||||
name: ollama
|
||||
api_base: http://localhost:11434/v1
|
||||
api_key: __LLM_API_KEY__
|
||||
Reference in New Issue
Block a user