Initial commit, first public version.

This commit is contained in:
ben
2025-01-12 14:37:13 +01:00
commit 778188ed95
18 changed files with 659 additions and 0 deletions

7
src/aichat/Dockerfile Normal file
View 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
View 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__