Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Add built-in variants for `glm-5.2` (case-insensitive): `none`, `medium`, `high`.

## 0.143.1

- MCP: detect a broken/logged-out session (expired/revoked token, expired session) and re-initialize instead of hanging the tool call until timeout; relies on plumcp 0.2.2 correlating HTTP error responses to the originating request.
Expand Down
8 changes: 7 additions & 1 deletion src/eca/config.clj
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@
"high" {:reasoning_effort "high"}
"max" {:reasoning_effort "max"}})

(def ^:private glm-variants
{"none" {:reasoning_effort "none"}
"high" {:reasoning_effort "high"}
"max" {:reasoning_effort "max"}})

(def ^:private initial-config*
{:providers {"openai" {:api "openai-responses"
:url "${env:OPENAI_API_URL:https://api.openai.com}"
Expand Down Expand Up @@ -205,7 +210,8 @@
".*gpt[-._]5(?:[-._](?:2|4|5)(?!\\d)|[-._]3[-._]codex)" {:variants openai-variants
:excludeProviders ["github-copilot"]}
".*deepseek[-._]v4[-._]pro" {:variants deepseek-variants
:api "openai-chat"}}
:api "openai-chat"}
"(?i).*glm[-._]5[-._]2" {:variants glm-variants}}
:mcpTimeoutSeconds 60
:mcpKeepAliveSeconds 30
:lspTimeoutSeconds 30
Expand Down
Loading