-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathgateway.local.example.toml
More file actions
57 lines (52 loc) · 1.9 KB
/
Copy pathgateway.local.example.toml
File metadata and controls
57 lines (52 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Example: gateway with one local generative model (managed llama-server child).
# Copy and adjust paths/secrets. First start downloads the pinned llama-server
# binary and the GGUF into ~/.promptforge (or [local].cache_dir).
[server]
bind = "127.0.0.1:8081"
api_key = "${PROMPTFORGE_GATEWAY_API_KEY}"
# Optional. Defaults to ~/.promptforge (Windows: %USERPROFILE%\.promptforge).
# GGUFs go in <cache_dir>/models; llama-server installs under <cache_dir>/llama.cpp.
# [local]
# cache_dir = "~/.promptforge"
# Optional local dominion: one shared concurrency limit and an optional VRAM
# budget for every local model bound to it.
# [[dominion]]
# id = "gpu0"
# kind = "local"
# max_concurrency = 4
# vram_gb = 24
[[local_model]]
name = "qwen-local"
description = "A careful analysis model suited to structured reasoning and long-context review"
source = "https://huggingface.co/unsloth/Qwen3.5-9B-GGUF/resolve/main/Qwen3.5-9B-Q4_K_M.gguf"
sha256 = "03b74727a860a56338e042c4420bb3f04b2fec5734175f4cb9fa853daf52b7e8"
context = 65536
thinking = "never"
gpu_layers = 99
flash_attention = true
cache_type_k = "q8_0"
cache_type_v = "q4_0"
n_predict = 8192
# parallel = 1 # child --parallel and, without a dominion, the queue limit
# dominion = "gpu0" # bind to a local dominion to share its limit and budget
# vram_gb = 6 # footprint estimate; required when the dominion budgets VRAM
# Remote models can coexist; local models are registered beside them.
# [[dominion]]
# id = "anthropic-pool"
# kind = "remote"
# max_concurrency = 10
#
# [[endpoint]]
# id = "anthropic"
# protocol = "openai"
# base_url = "https://api.anthropic.com/v1"
# api_key = "${ANTHROPIC_API_KEY}"
# dominion = "anthropic-pool"
#
# [[model]]
# name = "claude-sonnet-4-6"
# description = "A model suited for careful analysis, coding, and general assistance"
# context = 200000
# thinking = "never"
# upstream = "claude-sonnet-4-6"
# endpoints = ["anthropic"]