-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.ananke.toml.example
More file actions
51 lines (39 loc) · 1.3 KB
/
.ananke.toml.example
File metadata and controls
51 lines (39 loc) · 1.3 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
# Ananke Configuration File
#
# Copy this file to .ananke.toml and update with your values:
# cp .ananke.toml.example .ananke.toml
#
# Replace <YOUR_MODAL_WORKSPACE> with your Modal workspace name
[modal]
# Modal inference endpoint URL
# Replace <YOUR_MODAL_WORKSPACE> with your Modal workspace name
endpoint = "https://<YOUR_MODAL_WORKSPACE>--ananke-inference-generate-api.modal.run"
# Modal API key (optional - can also use ANANKE_MODAL_API_KEY env var)
# api_key = "your-modal-api-key"
[claude]
# Claude API configuration for semantic analysis
# API key should be stored in environment variable ANTHROPIC_API_KEY
# endpoint = "https://api.anthropic.com/v1/messages"
model = "claude-sonnet-4-5-20250929"
enabled = false
[defaults]
# Default language for code generation
language = "typescript"
# Maximum tokens to generate
max_tokens = 4096
# Temperature for sampling (0.0 = deterministic, 1.0 = creative)
temperature = 0.7
# Confidence threshold for constraint validation
confidence_threshold = 0.5
# Output format (pretty, json, compact)
output_format = "pretty"
[extract]
# Use Claude API for advanced extraction
use_claude = false
# Extraction patterns
patterns = ["all"]
[compile]
# Compilation priority (low, medium, high)
priority = "medium"
# Output formats for compiled constraints
formats = ["json-schema"]