Skip to content

Commit e28e3e8

Browse files
committed
fix: standardize AI plugin configuration format
- Change plugin name from 'atest-ai-openai' to 'atest-ext-ai' following naming convention - Remove specific OpenAI parameters and implementation details - Keep only the essential configuration matching other plugins format - AI plugin now follows exact same structure as atest-store-database - Only difference is the categories: ['ai'] field for classification
1 parent 8d6d386 commit e28e3e8

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

pkg/testing/testdata/data/core/extension.yaml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,8 @@ items:
33
dependencies:
44
- name: atest-store-database
55
link: https://github.com/LinuxSuRen/atest-ext-store-database
6-
- name: atest-ai-openai
6+
- name: atest-ext-ai
77
dependencies:
8-
- name: atest-ai-openai
9-
link: https://github.com/LinuxSuRen/atest-ext-ai-openai
8+
- name: atest-ext-ai
9+
link: https://github.com/LinuxSuRen/atest-ext-ai
1010
categories: ["ai"]
11-
params:
12-
- key: api_key
13-
description: OpenAI API Key
14-
defaultValue: ""
15-
- key: model
16-
description: OpenAI Model
17-
defaultValue: "gpt-4"
18-
enum: ["gpt-3.5-turbo", "gpt-4", "gpt-4-turbo"]
19-
- key: temperature
20-
description: Sampling temperature
21-
defaultValue: "0.7"

0 commit comments

Comments
 (0)