Ensure GetModelVersions returns empty array #105

Merged
joelyoder merged 4 commits from codex/fix-typeerror-accessing-res.data-length into main 2025-09-23 11:36:03 -04:00
joelyoder commented 2025-09-23 00:39:02 -04:00 (Migrated from github.com)

Summary

  • initialize the versions slice in GetModelVersions to ensure JSON encodes to an empty array instead of null

Testing

  • go test ./...

https://chatgpt.com/codex/tasks/task_e_68d223b1841c83328915a43c2d111244

## Summary - initialize the versions slice in GetModelVersions to ensure JSON encodes to an empty array instead of null ## Testing - go test ./... ------ https://chatgpt.com/codex/tasks/task_e_68d223b1841c83328915a43c2d111244
Sign in to join this conversation.
No description provided.