mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
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>
This commit is contained in:
parent
ca1b1959c2
commit
bfc9172aac
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ var _ = Describe("API Instructions Endpoints", func() {
|
|||
|
||||
instructions, ok := resp["instructions"].([]any)
|
||||
Expect(ok).To(BeTrue())
|
||||
Expect(instructions).To(HaveLen(12))
|
||||
Expect(instructions).To(HaveLen(13))
|
||||
|
||||
// Verify each instruction has required fields and correct URL format
|
||||
for _, s := range instructions {
|
||||
|
|
|
|||
Loading…
Reference in a new issue