LocalAI/core/http
TLoE419 bfc9172aac test(api-instructions): bump instruction count to 13 for chat-history
The new chat-history instruction definition pushes the total
instructionDefs entries from 12 to 13. Update the hard-coded length
assertion in api_instructions_test.go to match.

The presence-level assertion in the sibling \"should include known
instruction names\" test already uses ContainElements rather than
ConsistOf, so no further edits are needed there.

Assisted-by: Claude:claude-opus-4-7

Signed-off-by: TLoE419 <tloemizuchizu@gmail.com>
2026-05-19 10:22:56 -07:00
..
auth feat(api): expose chat conversation CRUD endpoints (#9432) 2026-05-18 18:06:06 -07:00
endpoints test(api-instructions): bump instruction count to 13 for chat-history 2026-05-19 10:22:56 -07:00
middleware fix(middleware): parse OpenAI-spec tool_choice in /v1/chat/completions (#9559) 2026-05-14 00:14:38 +02:00
react-ui feat(react-ui): sync chat history to server with localStorage fallback (#9432) 2026-05-18 18:06:20 -07:00
routes feat(api): expose chat conversation CRUD endpoints (#9432) 2026-05-18 18:06:06 -07:00
static fix(streaming): comply with OpenAI usage / stream_options spec (#9815) 2026-05-14 08:53:46 +02:00
views feat(realtime): WebRTC support (#8790) 2026-03-13 21:37:15 +01:00
app.go feat(api): expose chat conversation CRUD endpoints (#9432) 2026-05-18 18:06:06 -07:00
app_test.go fix(http): honor X-Forwarded-Prefix when proxy strips the prefix (#9614) 2026-05-13 21:59:33 +02:00
csrf_multipart_test.go chore: Security hardening (#9719) 2026-05-08 16:25:45 +02:00
explorer.go chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
http_suite_test.go refactor(tests): split app_test.go, move real-backend coverage to e2e-backends 2026-04-27 23:09:20 +00:00
openresponses_test.go feat: add distributed mode (#9124) 2026-03-30 00:47:27 +02:00
render.go feat: add distributed mode (#9124) 2026-03-30 00:47:27 +02:00
route_coverage_test.go chore: Security hardening (#9719) 2026-05-08 16:25:45 +02:00