Skip to content

Commit

Permalink
fix(mistral-api): use DeepSeek for pgpt-small to experiment with models
Browse files Browse the repository at this point in the history
  • Loading branch information
RostyslavManko committed Dec 29, 2024
1 parent 49b0080 commit d88a055
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .env.local.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# PGPT-Large
OPENROUTER_PENTESTGPT_PRO_MODEL=mistralai/mistral-large
# For Enhance Search
OPENROUTER_STANDALONE_QUESTION_MODEL=mistralai/mixtral-8x7b-instruct:nitro
OPENROUTER_STANDALONE_QUESTION_MODEL=mistralai/mistral-small

# System Prompts (Optional)
# For PGPT-Small, PGPT-Large
Expand Down
2 changes: 1 addition & 1 deletion app/api/chat/mistral/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export async function POST(request: Request) {
}

if (shouldUncensor) {
if (selectedModel === "openai/gpt-4o-mini") {
if (selectedModel === "deepseek/deepseek-chat") {
selectedModel = "mistralai/mistral-small"
}
return handleAssistantMessages(messages)
Expand Down
42 changes: 21 additions & 21 deletions lib/tools/tool-store/available-tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,27 +48,27 @@ export const availablePlugins: PluginSummary[] = [
isPremium: false,
createdAt: "2024-07-26",
starters: [
{
title: "What are Some Ways",
description: "to bypass payment process?",
chatMessage: "What are some ways to bypass payment process?"
},
{
title: "Explain the OWASP Top 10",
description: "and how to test for them",
chatMessage: "Explain the OWASP Top 10 and how to test for them."
},
{
title: "Describe Common Techniques",
description: "for exploiting server-side request forgery",
chatMessage:
"Describe common techniques for exploiting server-side request forgery."
},
{
title: "List Popular Vulnerabel",
description: "ports to exploit",
chatMessage: "List popular vulnerabel ports to exploit."
}
// {
// title: "What are Some Ways",
// description: "to bypass payment process?",
// chatMessage: "What are some ways to bypass payment process?"
// },
// {
// title: "Explain the OWASP Top 10",
// description: "and how to test for them",
// chatMessage: "Explain the OWASP Top 10 and how to test for them."
// },
// {
// title: "Describe Common Techniques",
// description: "for exploiting server-side request forgery",
// chatMessage:
// "Describe common techniques for exploiting server-side request forgery."
// },
// {
// title: "List Popular Vulnerabel",
// description: "ports to exploit",
// chatMessage: "List popular vulnerabel ports to exploit."
// }
]
},
{
Expand Down

0 comments on commit d88a055

Please sign in to comment.