Skip to content

chore: commit all pending changes#77

Merged
Patel230 merged 12 commits into
mainfrom
feat/commit-all-changes-20260727
Jul 27, 2026
Merged

chore: commit all pending changes#77
Patel230 merged 12 commits into
mainfrom
feat/commit-all-changes-20260727

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Automated commit of all pending changes across the repository.

Patel230 added 11 commits July 23, 2026 20:16
The examples showed 'out, err := tok.Compress(...)' but the actual API returns
(string, Stats) and (string, PromptStats) respectively — no error return.
Fix the examples to match the real signatures.
tok.EstimateCost was referenced across README, QUICK_START, DEPLOYMENT,
AGENT_INTEGRATION, TROUBLESHOOTING, PERFORMANCE, and examples/README but did
not exist. Adds the missing function (estimates USD cost of text as input
tokens via EstimateTokensForModel + GetModelPricing) with tests, and fixes
the doc examples to match the actual API:

- Compress/PromptCompress return (string, Stats)/(string, PromptStats), not
  (string, error): corrected out, err := to out, _ := / out, stats :=
- PromptCompress single-value assignments now use out, _ :=
- EstimateCost now takes text (string) and returns float64 (single value)
- Fixed 3-value Compress misuses in architecture.md
ListModels documented a sorted list but iterated the pricing map
directly, yielding random order per run. Add sort.Strings and a
sort.StringsAreSorted assertion so the contract is enforced.
- Add runtimegraph/ package with runtime analysis
- Update ratelimit.go, ratelimit_test.go, go.mod
- Update README
- Add RuntimeGraph implementation
- Track runtime performance metrics across components
- Support issue ranking and portable GraphSpec conversion
@Patel230
Patel230 enabled auto-merge July 27, 2026 03:37
@Patel230
Patel230 merged commit 2afc7f5 into main Jul 27, 2026
20 checks passed
@Patel230
Patel230 deleted the feat/commit-all-changes-20260727 branch July 27, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant