unit-mesh / auto-dev-vscode

AutoDev - 🧙‍the AI-powered coding wizard . Put the most loved AutoDev AI assistant into your VSCode, and have things done quickly
http://vscode.unitmesh.cc/
MIT License
234 stars 38 forks source link

open api key error: "Error: 400 Unrecognized request argument supplied: title (request id: 2024080407132230293511987388460)" #72

Open whdlut opened 1 month ago

whdlut commented 1 month ago

Before submitting your bug report

Relevant environment info

- OS:Windows 10 Professional
- AutoDev VSCode: v0.5.2
- IDE:Vscode V1.92.0

Description

Configuration Information: “”“ { "autodev.openai.apiKey": "sk-****f65A13d", "autodev.openai.baseURL": "https://aihubmix.com/v1", "autodev.openai.model": "gpt-3.5-turbo", "autodev.chat.models": [ { "title": "GPT-3.5 turbo", "provider": "openai", "model": "gpt-3.5-turbo", "temperature": 0.75 }, { "title": "QWen turbo", "provider": "tongyi", "model": "qwen-plus-0723" }, { "title": "ERNIE-Bot turbo", "provider": "qianfan", "model": "ERNIE-Bot-turbo" }, { "title": "CodeGeeX-4", "provider": "zhipuai", "model": "codegeex-4" }, { "title": "claude", "provider": "anthropic", "model": "claude-3-haiku-20240307" },
{ "title": "Llama3", "provider": "ollama", "model": "llama3" } ], "autodev.embeddings.provider": "openai", "autodev.anthropic.apiKey": "sk-ant-api03-N*****HKg-I1uPIgAA", "autodev.anthropic.model": "claude-3-sonnet-20240229", "autodev.transformers.onnxWasmNumThreads": 0, "autodev.chat.model": "gpt-3.5-turbo", "autodev.enableRenameSuggestion": true, "autodev.tongyi.apiKey": "sk-7c65*c0a80558211", "autodev.transformers.allowLocalModels": false, "autodev.embeddings.model": "gpt-3.5-turbo", "autodev.completions.enable": true } ”“” ///////////////////// Error Description: “”“ (1)Chat Mode: "GPT-3.5 turbo" Issue: After entering information, the system returns the error: Error: 400 Unrecognized request argument supplied: title (request id: 2024080412512934921266039599491) (2)Chat Mode: "claude" Issue: After entering information, the system returns the error: Error: Message type "generic" is not supported. (3)Chat Mode: "QWen turbo" After entering information, the system returns fine

To reproduce

No response

Log output

No response