fix(provider): fix anthropic integration

This commit is contained in:
2024-04-29 11:18:40 +02:00
parent 9e19d320e1
commit d1465fc868
7 changed files with 90 additions and 70 deletions

View File

@@ -16,7 +16,10 @@ export abstract class MultiModalModel {
role: 'assistant' | 'user';
content: string;
}[]
}): Promise<{}>
}): Promise<{
role: 'assistant';
message: string;
}>
/**
* Defines a streaming interface for chat interactions.