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

Add detailed error message for missing model configurations #1632

Merged
merged 2 commits into from
Dec 9, 2024

Conversation

shenchucheng
Copy link
Collaborator

Features

  • Added command-line flags --opt_model_name and --exec_model_name to specify models for optimization and execution tasks.
  • Improved the exception handling with more detailed error messages when the models are not found in the configuration file.

Result

python -m examples.aflow.optimize --dataset MATH --opt_model_name claude-3-5-sonnet-20240620 --exec_model_name gpt-4o-mini

.gitignore Outdated Show resolved Hide resolved
@didiforgithub
Copy link
Contributor

LGTM

1 similar comment
@stellaHSR
Copy link
Collaborator

LGTM

@shenchucheng shenchucheng merged commit 0ab21e3 into geekan:main Dec 9, 2024
2 of 3 checks passed
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.

3 participants