We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a489a8b commit 4073bdcCopy full SHA for 4073bdc
src/api/providers/__tests__/unbound.test.ts
@@ -192,6 +192,11 @@ describe("UnboundHandler", () => {
192
temperature: 0,
193
max_tokens: 8192,
194
}),
195
+ expect.objectContaining({
196
+ headers: expect.objectContaining({
197
+ "X-Unbound-Metadata": expect.stringContaining("roo-code"),
198
+ }),
199
200
)
201
})
202
@@ -233,6 +238,11 @@ describe("UnboundHandler", () => {
233
238
messages: [{ role: "user", content: "Test prompt" }],
234
239
235
240
241
242
243
244
245
236
246
237
247
expect(mockCreate.mock.calls[0][0]).not.toHaveProperty("max_tokens")
248
0 commit comments