mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix(azure): add missing isAiSdkProvider() override for reasoning block preservation
This commit is contained in:
parent
926c23c127
commit
06dd495914
2 changed files with 10 additions and 0 deletions
|
|
@ -91,6 +91,12 @@ describe("AzureHandler", () => {
|
|||
})
|
||||
})
|
||||
|
||||
describe("isAiSdkProvider", () => {
|
||||
it("should return true", () => {
|
||||
expect(handler.isAiSdkProvider()).toBe(true)
|
||||
})
|
||||
})
|
||||
|
||||
describe("createMessage", () => {
|
||||
const systemPrompt = "You are a helpful assistant."
|
||||
const messages: Anthropic.Messages.MessageParam[] = [
|
||||
|
|
|
|||
|
|
@ -184,4 +184,8 @@ export class AzureHandler extends BaseProvider implements SingleCompletionHandle
|
|||
|
||||
return text
|
||||
}
|
||||
|
||||
override isAiSdkProvider(): boolean {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue