Skip to content

Commit 343a2fc

Browse files
committed
docs: update AGENTS.md for improved clarity and detail in commands and architecture
1 parent 12b9671 commit 343a2fc

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

AGENTS.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Go 1.26+ proxy server providing OpenAI/Gemini/Claude/Codex compatible APIs with
77

88
## Commands
99
```bash
10-
gofmt -w . # Format (required after Go changes)
11-
go build -o cli-proxy-api ./cmd/server # Build
12-
go run ./cmd/server # Run dev server
13-
go test ./... # Run all tests
14-
go test -v -run TestName ./path/to/pkg # Run single test
15-
go build -o test-output ./cmd/server && rm test-output # Verify compile (REQUIRED after changes)
10+
gofmt -w . # Format (required after Go changes)
11+
go build -o cli-proxy-api ./cmd/server # Build
12+
go run ./cmd/server # Run dev server
13+
go test ./... # Run all tests
14+
go test -v -run TestName ./path/to/pkg # Run single test
15+
go build -o test-output ./cmd/server && rm test-output # Verify compile (REQUIRED after changes)
1616
```
1717
- Common flags: `--config <path>`, `--tui`, `--standalone`, `--local-model`, `--no-browser`, `--oauth-callback-port <port>`
1818

@@ -26,7 +26,7 @@ go build -o test-output ./cmd/server && rm test-output # Verify compile (REQUIR
2626
- `cmd/server/` — Server entrypoint
2727
- `internal/api/` — Gin HTTP API (routes, middleware, modules)
2828
- `internal/api/modules/amp/` — Amp integration (Amp-style routes + reverse proxy)
29-
- `internal/thinking/`Thinking/reasoning token processing (`internal/thinking/provider/` for per-provider config)
29+
- `internal/thinking/`Main thinking/reasoning pipeline. `ApplyThinking()` (apply.go) parses suffixes (`suffix.go`, suffix overrides body), normalizes config to canonical `ThinkingConfig` (`types.go`), normalizes and validates centrally (`validate.go`/`convert.go`), then applies provider-specific output via `ProviderApplier`. Do not break this "canonical representation → per-provider translation" architecture.
3030
- `internal/runtime/executor/` — Per-provider runtime executors (incl. Codex WebSocket)
3131
- `internal/translator/` — Provider protocol translators (and shared `common`)
3232
- `internal/registry/` — Model registry + remote updater (`StartModelsUpdater`); `--local-model` disables remote updates

0 commit comments

Comments
 (0)