fix(provider.anthropic): Use image/png for embedded PDF images in Anthropic provider and add local Claude settings for development permissions

This commit is contained in:
2025-10-03 15:47:15 +00:00
parent 2791d738d6
commit 8244ac6eb0
3 changed files with 8 additions and 2 deletions

View File

@@ -220,7 +220,7 @@ export class AnthropicProvider extends MultiModalModel {
type: 'image',
source: {
type: 'base64',
media_type: 'image/jpeg',
media_type: 'image/png',
data: Buffer.from(imageBytes).toString('base64')
}
});