xref: /plugin/aichat/_test/ModelVoyageAITest.php (revision d7287996fa85f1ce0b6ee0863253c9495faaad5f)
1*d7287996SAndreas Gohr (aider)<?php
2*d7287996SAndreas Gohr (aider)
3*d7287996SAndreas Gohr (aider)namespace dokuwiki\plugin\aichat\test;
4*d7287996SAndreas Gohr (aider)
5*d7287996SAndreas Gohr (aider)/**
6*d7287996SAndreas Gohr (aider) * VoyageAI Model Test
7*d7287996SAndreas Gohr (aider) *
8*d7287996SAndreas Gohr (aider) * @group plugin_aichat
9*d7287996SAndreas Gohr (aider) * @group plugins
10*d7287996SAndreas Gohr (aider) * @group internet
11*d7287996SAndreas Gohr (aider) */
12*d7287996SAndreas Gohr (aider)class ModelVoyageAITest extends AbstractModelTest
13*d7287996SAndreas Gohr (aider){
14*d7287996SAndreas Gohr (aider)    protected string $provider = 'VoyageAI';
15*d7287996SAndreas Gohr (aider)    protected string $api_key_env = 'VOYAGEAI_API_KEY';
16*d7287996SAndreas Gohr (aider)    protected string $chat_model = '';
17*d7287996SAndreas Gohr (aider)    protected string $embedding_model = 'voyage-3';
18*d7287996SAndreas Gohr (aider)
19*d7287996SAndreas Gohr (aider)    /** @inheritdoc */
20*d7287996SAndreas Gohr (aider)    public function testChat()
21*d7287996SAndreas Gohr (aider)    {
22*d7287996SAndreas Gohr (aider)        $this->markTestSkipped('VoyageAI does not support chat models');
23*d7287996SAndreas Gohr (aider)    }
24*d7287996SAndreas Gohr (aider)}
25