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
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,14 @@ Then start OpenABCode:
openabcode
```

Inside the interactive CLI:
To set up Route mode:

```text
/login Sign in to OpenABCode or another provider
/model Select fixed models and Route family models
/route-model Select the model that classifies Route tasks
/route Turn automatic task routing on or off
```
1. Run `/login` and configure the providers you want to use.
2. Run `/route-model` and select the authenticated model that classifies tasks. This does not change the active execution model.
3. Run `/model` and pick one specific model per family — e.g. `gpt-6-astra` for OpenAI, `gemini-3.8-flash` for Google, `claude-fable-5` for Anthropic. Route always executes tasks with the exact model you picked for the chosen family.
4. Run `/route` and select `on`.

When Route is on, the footer shows the configured execution models. Every completed routing decision is also stored in the session JSONL for audit.
When Route is on, the footer shows the configured execution models. Route works as long as at least two model families are configured — with a family missing, routing degrades to the available ones. Every completed routing decision is stored in the session JSONL for audit, and manually overriding a routed model is recorded as veto feedback.

## Customizing Route Rules

Expand All @@ -69,16 +67,15 @@ Route rules, heuristic keywords, file extension mappings, project markers, and t
"router": {
"rules": {
"openai": "Test and automation — algorithms, code review, testing, data analysis, scripting",
"google": "Google ecosystem — Android, Flutter, Firebase, Google Cloud, Kotlin",
"google": "Google ecosystem — Android, Flutter, Firebase, Google Cloud",
"anthropic": "General development — all code writing, editing, debugging, architecture, UI"
},
"keywords": {
"openai": ["algorithm", "unit test", "benchmark", "data analysis", "pipeline"],
"google": ["android", "flutter", "dart", "firebase", "gcp"],
"anthropic": ["refactor", "debug", "architecture", "implement", "fix"]
"anthropic": ["refactor", "debug", "architecture", "migration"]
},
"fileExtensions": {
".kt": "google",
".dart": "google",
".rs": "anthropic",
".ts": "anthropic",
Expand Down
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

## [1.1.0] - 2026-09-16

## [1.0.9] - 2026-07-19

## [1.0.8] - 2026-07-19
Expand Down
4 changes: 2 additions & 2 deletions packages/agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openabcode/agent-core",
"version": "1.0.9",
"version": "1.1.0",
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
"type": "module",
"main": "./dist/index.js",
Expand Down Expand Up @@ -30,7 +30,7 @@
"prepublishOnly": "npm run clean && npm run build"
},
"dependencies": {
"@openabcode/ai": "^1.0.9",
"@openabcode/ai": "^1.1.0",
"ignore": "7.0.5",
"typebox": "1.1.38",
"yaml": "2.9.0"
Expand Down
11 changes: 11 additions & 0 deletions packages/ai/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

## [Unreleased]

## [1.1.0] - 2026-09-16

### Changed

- Refreshed all generated model catalogs from upstream: removed retired models (`glm-4.5-air`, `k2p7`, `gpt-5.2-codex`, `gpt-5.1-codex-max`, dated Claude aliases, and others) and added current replacements.
- Cloudflare AI Gateway now serves only `/anthropic` and `/openai` upstreams; the workers-ai `/compat` completions path was removed from the catalog and the provider no longer registers the completions API.

### Added

- `supportsReasoningEffort` compat flag for OpenAI Responses models; when false the `reasoning.effort` request field is omitted (used by OpenCode Grok Build).

## [1.0.9] - 2026-07-19

## [1.0.8] - 2026-07-19
Expand Down
2 changes: 1 addition & 1 deletion packages/ai/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openabcode/ai",
"version": "1.0.9",
"version": "1.1.0",
"description": "Unified LLM API with automatic model discovery and provider configuration",
"type": "module",
"main": "./dist/index.js",
Expand Down
3 changes: 2 additions & 1 deletion packages/ai/src/api/openai-responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function getCompat(model: Model<"openai-responses">): Required<OpenAIResponsesCo
supportsDeveloperRole: model.compat?.supportsDeveloperRole ?? true,
sendSessionIdHeader: model.compat?.sendSessionIdHeader ?? true,
supportsLongCacheRetention: model.compat?.supportsLongCacheRetention ?? true,
supportsReasoningEffort: model.compat?.supportsReasoningEffort ?? true,
};
}

Expand Down Expand Up @@ -249,7 +250,7 @@ function buildParams(model: Model<"openai-responses">, context: Context, options
params.tools = convertResponsesTools(context.tools);
}

if (model.reasoning) {
if (model.reasoning && (model.compat?.supportsReasoningEffort ?? true)) {
if (options?.reasoningEffort || options?.reasoningSummary) {
const effort = options?.reasoningEffort
? (model.thinkingLevelMap?.[options.reasoningEffort] ?? options.reasoningEffort)
Expand Down
Loading
Loading