-
Notifications
You must be signed in to change notification settings - Fork 1
[Refactor] Remove commented code, resolve TODO comments, and fix CI workflow #74
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
base: main
Are you sure you want to change the base?
Changes from 2 commits
608e4ec
9e2f9dd
9d02ec1
6196aa0
94087bb
d399adb
ea4fb26
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -223,7 +223,8 @@ mod tests { | |
| model: Some("gpt-4o-mini".to_string()), | ||
| max_tokens: Some(1024), | ||
| max_commit_length: Some(72), | ||
| timeout: Some(30) | ||
| timeout: Some(30), | ||
| temperature: Some(0.7) | ||
| }; | ||
|
|
||
| // Temporarily clear the environment variable | ||
|
|
@@ -261,7 +262,8 @@ mod tests { | |
| model: Some("gpt-4o-mini".to_string()), | ||
| max_tokens: Some(1024), | ||
| max_commit_length: Some(72), | ||
| timeout: Some(30) | ||
| timeout: Some(30), | ||
| temperature: Some(0.7) | ||
|
||
| }; | ||
|
|
||
| // Test that generate returns an error for invalid API key | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ use serde::{Deserialize, Serialize}; | |
| use serde_json::json; | ||
| use async_openai::types::{ChatCompletionTool, ChatCompletionToolType, FunctionObjectArgs}; | ||
| use anyhow::Result; | ||
| // TODO: Migrate to unified types from generation module | ||
| // TODO: Migrate to unified types from generation module (tracked in issue #XX - create unified type migration issue) | ||
|
||
|
|
||
| /// File analysis result from the analyze function | ||
| #[derive(Debug, Clone, Serialize, Deserialize)] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be as low as possible. 0 if possible. @copilot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temperature set to 0.0 for deterministic test behavior in commit 17bc20e. This ensures consistent, reproducible test results.