experimental agent
- Go 100%
- enrichModels now returns the count of matched models, allowing refreshModels to detect and warn on key-alignment failures where the models.dev bucket is non-empty but matches zero provider models. - Add sampleKeys helper to bound diagnostic log output when models.dev buckets contain hundreds of entries. - Simplify capability merging logic in enrichDef using boolean OR operators. - Fix embedding index panic in embeddingsToOut by growing the result slice in a loop and clamping indices to prevent hostile server responses from forcing excessive allocations. - Update Neuralwatt context length fallback logic to explicitly check for metadata presence before falling back to MaxModelLen. - Refactor startStream to use local channel variables for cleaner scope management. |
||
|---|---|---|
| core | ||
| docs | ||
| message | ||
| model | ||
| pkg | ||
| provider | ||
| providers | ||
| session | ||
| store | ||
| tool | ||
| .gitignore | ||
| agent.go | ||
| config.go | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| mise.toml | ||
| README.md | ||
agent
experimental agent