File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/platform/src/Bridge/Mistral Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ final class Mistral extends Model
2929 public const MINISTRAL_8B = 'mistral-8b-latest ' ;
3030 public const PIXSTRAL_LARGE = 'pixstral-large-latest ' ;
3131 public const PIXSTRAL = 'pixstral-12b-latest ' ;
32+ public const VOXTRAL_SMALL = 'voxtral-small-latest ' ;
33+ public const VOXTRAL_MINI = 'voxtral-mini-latest ' ;
3234
3335 /**
3436 * @param array<string, mixed> $options
@@ -48,6 +50,10 @@ public function __construct(
4850 $ capabilities [] = Capability::INPUT_IMAGE ;
4951 }
5052
53+ if (\in_array ($ name , [self ::VOXTRAL_SMALL , self ::VOXTRAL_MINI ], true )) {
54+ $ capabilities [] = Capability::INPUT_AUDIO ;
55+ }
56+
5157 if (\in_array ($ name , [
5258 self ::CODESTRAL ,
5359 self ::MISTRAL_LARGE ,
@@ -57,6 +63,8 @@ public function __construct(
5763 self ::MINISTRAL_8B ,
5864 self ::PIXSTRAL ,
5965 self ::PIXSTRAL_LARGE ,
66+ self ::VOXTRAL_MINI ,
67+ self ::VOXTRAL_SMALL ,
6068 ], true )) {
6169 $ capabilities [] = Capability::TOOL_CALLING ;
6270 }
You can’t perform that action at this time.
0 commit comments