Skip to content
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

Codebase improvements #4584

Merged
merged 7 commits into from
Mar 11, 2025
Merged

Codebase improvements #4584

merged 7 commits into from
Mar 11, 2025

Conversation

sestinj
Copy link
Contributor

@sestinj sestinj commented Mar 11, 2025

No description provided.

Copy link

netlify bot commented Mar 11, 2025

Deploy Preview for continuedev canceled.

Name Link
🔨 Latest commit ec092ca
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/67cfbb2555d40d0008fbd9e8

@@ -75,6 +75,7 @@ class ContinueProxy extends OpenAI {
query,
documents: chunks.map((chunk) => chunk.content),
model: this.model,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extrabodyproperties might conflict with using custom fetch added in this pr?
#4581

fileUris.map(async (uri) => {
const content = await ide.readFile(uri);
filepaths.map(async (filepath) => {
const uri = localPathToUri(filepath);
Copy link
Collaborator

@RomneyDa RomneyDa Mar 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will fail for non-file schema paths

@@ -6,6 +6,10 @@ import * as URI from "uri-js";

// Converts a local path to a file:/// URI
export function localPathToUri(path: string) {
if (path.startsWith("file://")) {
console.warn("localPathToUri: path already starts with file://");
return path;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might not be best place to catch this

@sestinj sestinj merged commit 8d82468 into main Mar 11, 2025
31 checks passed
@sestinj sestinj deleted the nate/fix-codebase-500-2 branch March 11, 2025 05:27
@sestinj sestinj changed the title Nate/fix-codebase-500-2 Codebase improvements Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants