1<?php
2
3namespace dokuwiki\plugin\aichat\test;
4
5/**
6 * Generic Model Test
7 *
8 * @group plugin_aichat
9 * @group plugins
10 * @group internet
11 */
12class ModelGenericIonosTest extends AbstractModelTest
13{
14    protected string $provider = 'Generic';
15    protected string $api_key_env = 'IONOS_API_KEY';
16    protected string $chat_model = 'mistralai/Mistral-Nemo-Instruct-2407';
17    protected string $embedding_model = 'BAAI/bge-m3';
18
19    /** @inheritdoc */
20    public function setUp(): void
21    {
22        parent::setUp();
23        global $conf;
24        $conf['plugin']['aichat']['generic_apiurl'] = 'https://openai.inference.de-txl.ionos.com/v1/';
25    }
26}
27