Skip to content
Snippets Groups Projects
Verified Commit a2688052 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

feat: add OpenAI configuration to testing environment and update model in tests

parent 59572ed9
No related branches found
No related tags found
1 merge request!59Ajouter service ia & détection bots user agents
Pipeline #1029 passed
......@@ -74,3 +74,8 @@ BUNNYCDN_STORAGE_ZONE=testing_storage_zone
BUNNYCDN_PULL_ZONE=https://testing.b-cdn.net
BUNNYCDN_API_KEY="api-key"
BUNNYCDN_REGION=de
AI_PROVIDER=openai
OPENAI_URL=https://api.test-provider.com/v1/chat/completions
OPENAI_API_KEY=fake-api-key
OPENAI_MODEL=gpt-4o-mini
\ No newline at end of file
......@@ -24,7 +24,7 @@ class AiProviderServiceTest extends TestCase
'id' => 'chat_1',
'object' => 'chat.completion',
'created' => 1739718124,
'model' => 'gpt-4o-mini-2024-07-18',
'model' => 'gpt-4o-mini',
'choices' => [
[
'index' => 0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment