Skip to content

Commit

Permalink
Merge pull request #539 from codestoryai/features/fix-path-bug-on-win…
Browse files Browse the repository at this point in the history
…dows

[sidecar] fix path bug on windows
  • Loading branch information
theskcd authored Mar 9, 2024
2 parents cd016af + 17d4abe commit 535666c
Show file tree
Hide file tree
Showing 7 changed files with 842 additions and 9 deletions.
2 changes: 1 addition & 1 deletion difftastic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ pub fn generate_sidecar_diff(
&DiffOptions::default(),
&[],
);
dbg!(&diff_result);
crate::display::side_by_side::print(
diff_result.hunks.as_slice(),
&display_options,
Expand Down Expand Up @@ -763,7 +764,6 @@ fn diff_directories<'a>(
}

fn print_diff_result(display_options: &DisplayOptions, summary: &DiffResult) {
dbg!(&summary.hunks);
match (&summary.lhs_src, &summary.rhs_src) {
(FileContent::Text(lhs_src), FileContent::Text(rhs_src)) => {
let hunks = &summary.hunks;
Expand Down
2 changes: 1 addition & 1 deletion llm_client/src/bin/codestory_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async fn main() {
let codestory_client = CodeStoryClient::new("http://localhost:8080");
let (sender, _receiver) = tokio::sync::mpsc::unbounded_channel();
let request = LLMClientCompletionRequest::new(
LLMType::ClaudeOpus,
LLMType::Gpt4,
vec![
LLMClientMessage::system("you are a python expert".to_owned()),
LLMClientMessage::user("Can you write 1 to 300 in a new line for me".to_owned()),
Expand Down
Loading

0 comments on commit 535666c

Please sign in to comment.