Skip to content

Feat/keyword model mapping#8

Merged
Electricitysheep merged 4 commits into
mainfrom
feat/keyword-model-mapping
May 11, 2026
Merged

Feat/keyword model mapping#8
Electricitysheep merged 4 commits into
mainfrom
feat/keyword-model-mapping

Conversation

@SurgeSeeker

Copy link
Copy Markdown
Owner

No description provided.

SurgeSeeker and others added 4 commits May 10, 2026 21:46
Implement matchModel() for case-insensitive keyword-based model lookup,
selecting the longest matching key when multiple keys match. Add
substring overlap detection in Validate() to prevent ambiguous keys.

Fix pre-existing syntax error in transformer.go (orphaned else-if block).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@SurgeSeeker

Copy link
Copy Markdown
Owner Author

@Electricitysheep See see this

@Electricitysheep

Copy link
Copy Markdown
Collaborator

Updated: merged crypto/rand fix for generateID to prevent test collisions. sse.go now uses crypto/rand.Read instead of math/rand.New(time.Now().UnixNano()). Local tests all pass: go test -race ./... = OK.

@Electricitysheep
Electricitysheep merged commit f73f7aa into main May 11, 2026
5 checks passed
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.

2 participants