-
Notifications
You must be signed in to change notification settings - Fork 3k
feat: ai-request-transformer plugin #6033
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| /** | ||
| * sysContent. | ||
| */ | ||
| public static final String SYS_CONTENT = "你是HTTP/1.1协议专家,回答只包含标准HTTP/1.1报文内容。 \n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
english pls
| */ | ||
| public ChatModel initAiModel(final AiRequestTransformerConfig aiRequestTransformerConfig) { | ||
| switch (Objects.requireNonNull(AiModelProviderEnum.getByName(aiRequestTransformerConfig.getProvider()))) { | ||
| case DEEP_SEEK : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use Factory Design Model, not switch case
|
Aias00
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* fea plugin ai-request-transformer:first add plugin * update sql file * fix : config based on rule * add ai model registry * add sql flie and upgrade sql file * trigger ci * fix handler destory logic * trigger ci * trigger ci * trigger ci * trigger ci * fix ci * remove ai model autoconfig * trigger ci * fix ci * trigger ci * fix ci * trigger ci
Make sure that:
./mvnw clean install -Dmaven.javadoc.skip=true.