summaryrefslogtreecommitdiff
path: root/src/luarocks_runtime.zig
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-06-13 23:22:46 -0600
committert <t@tjp.lol>2026-06-15 15:08:32 -0600
commit71643a5d69ffc40882c9fcde3cc8a3bcf02d7396 (patch)
treeed9433d73959893f05f592432e26948664a31643 /src/luarocks_runtime.zig
parent20e6e08a42240aef0b36ecf627cbcde921912071 (diff)
fix a pointer-casting bug
Diffstat (limited to 'src/luarocks_runtime.zig')
-rw-r--r--src/luarocks_runtime.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/luarocks_runtime.zig b/src/luarocks_runtime.zig
index f0438d4..f76a60e 100644
--- a/src/luarocks_runtime.zig
+++ b/src/luarocks_runtime.zig
@@ -292,17 +292,17 @@ const default_base_config =
\\[providers.openai]
\\style = "openai_chat"
\\base_url = "https://api.openai.com/v1"
- \\auth = "openai_api"
+ \\auth = "openai"
\\
- \\[auth.openai_api]
+ \\[auth.openai]
\\key = "${env:OPENAI_API_KEY}"
\\
\\[providers.anthropic]
\\style = "anthropic_messages"
\\base_url = "https://api.anthropic.com"
- \\auth = "anthropic_api"
+ \\auth = "anthropic"
\\
- \\[auth.anthropic_api]
+ \\[auth.anthropic]
\\key = "${env:ANTHROPIC_API_KEY}"
\\
\\# Pick the default model with `<provider>:<alias>`. The alias is