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