test: add development scratch files and test utilities
Swadhin Biswas committed 6 months ago
594a0e5
1 parent 4507ba8
commit 594a0e5
3 files changed
+7 -0
Showing 3 changed files+7-0
▼.codex
+0-0
0 | 0 |
▼fix-commit.md
+4-0
| @@ -0,0 +1,4 @@ | ||
1 | +Fixed the OpenAI compatible tools format to send `function` nested object in the tools array instead of putting function properties at the top-level. | |
2 | +This resolves the 400 Bad Request `Field required` validation error for models connecting via OpenRouter/OpenAI API like `qwen/qwen3.5-122b-a10b`. | |
3 | + | |
4 | +Also removed `strict: false` parameter to maximize compatibility with third-party models since many models strictly validate the JSON schema but don't recognize the `strict` field itself. | |
0 | 5 | |
▼test-m.js
+3-0
| @@ -0,0 +1,3 @@ | ||
1 | +console.log(' █▄ ▄█ '); | |
2 | +console.log(' ███████ '); | |
3 | +console.log(' █ ▀ ▀ █ '); | |
0 | 4 | |