-
Notifications
You must be signed in to change notification settings - Fork 703
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
docs: remove model_weak configuration and simplify model selection #1392
Changes from all commits
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 |
---|---|---|
|
@@ -27,6 +27,12 @@ | |
from pr_agent.log import get_logger | ||
|
||
|
||
def get_weak_model() -> str: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @KennyDizi |
||
if get_settings().get("config.model_weak"): | ||
return get_settings().config.model_weak | ||
return get_settings().config.model | ||
|
||
|
||
class Range(BaseModel): | ||
line_start: int # should be 0-indexed | ||
line_end: int | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
[config] | ||
# models | ||
model_weak="gpt-4o-mini-2024-07-18" | ||
model="gpt-4o-2024-11-20" | ||
fallback_models=["gpt-4o-2024-08-06"] | ||
#model_weak="gpt-4o-mini-2024-07-18" # optional, a weaker model to use for some easier tasks | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @KennyDizi |
||
# CLI | ||
git_provider="github" | ||
publish_output=true | ||
|
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.
some additional adjustments 3:
This is a fix. The default should be REGULAR
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.
I'm wondering because my commit already set the default model to
REGULAR
as your suggestion KennyDizi@6352e6e