111d115daSAndreas Gohr (aider)<?php 211d115daSAndreas Gohr (aider) 311d115daSAndreas Gohr (aider)namespace dokuwiki\plugin\aichat\test; 411d115daSAndreas Gohr (aider) 511d115daSAndreas Gohr (aider)/** 611d115daSAndreas Gohr (aider) * Generic Model Test 711d115daSAndreas Gohr (aider) * 811d115daSAndreas Gohr (aider) * @group plugin_aichat 911d115daSAndreas Gohr (aider) * @group plugins 1011d115daSAndreas Gohr (aider) * @group internet 1111d115daSAndreas Gohr (aider) */ 1211d115daSAndreas Gohr (aider)class ModelGenericIonosTest extends AbstractModelTest 1311d115daSAndreas Gohr (aider){ 1411d115daSAndreas Gohr (aider) protected string $provider = 'Generic'; 1511d115daSAndreas Gohr (aider) protected string $api_key_env = 'IONOS_API_KEY'; 1611d115daSAndreas Gohr (aider) protected string $chat_model = 'mistralai/Mistral-Nemo-Instruct-2407'; 1711d115daSAndreas Gohr (aider) protected string $embedding_model = 'BAAI/bge-m3'; 1811d115daSAndreas Gohr (aider) 19*d72a84c5SAndreas Gohr /** @inheritdoc */ 2011d115daSAndreas Gohr (aider) public function setUp(): void 2111d115daSAndreas Gohr (aider) { 22*d72a84c5SAndreas Gohr parent::setUp(); 2311d115daSAndreas Gohr (aider) global $conf; 2411d115daSAndreas Gohr (aider) $conf['plugin']['aichat']['generic_apiurl'] = 'https://openai.inference.de-txl.ionos.com/v1/'; 2511d115daSAndreas Gohr (aider) } 2611d115daSAndreas Gohr (aider)} 27