mirror of
https://github.com/cline/cline.git
synced 2025-06-03 03:59:07 +00:00
Minor fixes
This commit is contained in:
parent
cd8edc221a
commit
3a5fa54384
@ -719,8 +719,8 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
|
||||
if (apiKey) {
|
||||
apiProvider = "anthropic"
|
||||
} else {
|
||||
// New users should default to anthropic for now, but will change to openrouter after fast edit mode
|
||||
apiProvider = "anthropic"
|
||||
// New users should default to openrouter
|
||||
apiProvider = "openrouter"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -7,7 +7,6 @@ export async function downloadTask(dateTs: number, conversationHistory: Anthropi
|
||||
// File name
|
||||
const date = new Date(dateTs)
|
||||
const month = date.toLocaleString("en-US", { month: "short" }).toLowerCase()
|
||||
const monthLong = date.toLocaleString("en-US", { month: "long" })
|
||||
const day = date.getDate()
|
||||
const year = date.getFullYear()
|
||||
let hours = date.getHours()
|
||||
@ -25,8 +24,7 @@ export async function downloadTask(dateTs: number, conversationHistory: Anthropi
|
||||
const content = Array.isArray(message.content)
|
||||
? message.content.map(formatContentBlockToMarkdown).join("\n")
|
||||
: message.content
|
||||
const timestamp = `# ${monthLong} ${day},${year} ${hours}:${minutes}:${seconds}${ampm}`;
|
||||
return `${timestamp}\n${role}\n\n${content}\n\n`
|
||||
return `${role}\n\n${content}\n\n`
|
||||
})
|
||||
.join("---\n\n")
|
||||
|
||||
|
@ -113,8 +113,8 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => {
|
||||
value={selectedProvider}
|
||||
onChange={handleInputChange("apiProvider")}
|
||||
style={{ minWidth: 130 }}>
|
||||
<VSCodeOption value="anthropic">Anthropic</VSCodeOption>
|
||||
<VSCodeOption value="openrouter">OpenRouter</VSCodeOption>
|
||||
<VSCodeOption value="anthropic">Anthropic</VSCodeOption>
|
||||
<VSCodeOption value="gemini">Google Gemini</VSCodeOption>
|
||||
<VSCodeOption value="vertex">GCP Vertex AI</VSCodeOption>
|
||||
<VSCodeOption value="bedrock">AWS Bedrock</VSCodeOption>
|
||||
|
Loading…
Reference in New Issue
Block a user