Commit ad14d61
committed
fix(agent): Make claudeModelsByID available on non-unix platforms
The Windows CI lint-backend step failed with `undefined: claudeModelsByID`
because the helper was defined in claude_test.go, which carries a
`//go:build unix` constraint, while the platform-agnostic
claude_livesettings_test.go calls it. On Windows the unix file is excluded,
so the symbol was missing and the test build failed.
Move claudeModelsByID into the unconstrained claude_mockhelpers_test.go so
it compiles on every platform while staying available to the unix tests.1 parent 8106ab7 commit ad14d61
2 files changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1983 | 1983 | | |
1984 | 1984 | | |
1985 | 1985 | | |
1986 | | - | |
1987 | | - | |
1988 | | - | |
1989 | | - | |
1990 | | - | |
1991 | | - | |
1992 | | - | |
1993 | | - | |
1994 | 1986 | | |
1995 | 1987 | | |
1996 | 1988 | | |
| |||
0 commit comments