xref: /plugin/aichat/_test/ModelAnthropicTest.php (revision 773012cf12c00971b494249c070969945d137830)
1*773012cfSAndreas Gohr<?php
2*773012cfSAndreas Gohr
3*773012cfSAndreas Gohrnamespace dokuwiki\plugin\aichat\test;
4*773012cfSAndreas Gohr
5*773012cfSAndreas Gohr/**
6*773012cfSAndreas Gohr * Antrhopic Model Test
7*773012cfSAndreas Gohr *
8*773012cfSAndreas Gohr * @group plugin_aichat
9*773012cfSAndreas Gohr * @group plugins
10*773012cfSAndreas Gohr * @group internet
11*773012cfSAndreas Gohr */
12*773012cfSAndreas Gohrclass ModelAnthropicTest extends AbstractModelTest
13*773012cfSAndreas Gohr{
14*773012cfSAndreas Gohr    protected string $provider = 'Anthropic';
15*773012cfSAndreas Gohr    protected string $api_key_env = 'ANTHROPIC_API_KEY';
16*773012cfSAndreas Gohr    protected string $chat_model = 'claude-3-5-haiku-20241022';
17*773012cfSAndreas Gohr    protected string $embedding_model = '';
18*773012cfSAndreas Gohr
19*773012cfSAndreas Gohr    /** @inheritdoc */
20*773012cfSAndreas Gohr    public function testEmbedding()
21*773012cfSAndreas Gohr    {
22*773012cfSAndreas Gohr        $this->markTestSkipped('Anthropic does not support embeddings yet');
23*773012cfSAndreas Gohr    }
24*773012cfSAndreas Gohr}
25