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

Move ModelSettings to yml files in the models directory (Ready) #2846

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

caseymcc
Copy link
Contributor

This moves all the ModelSettings values to yml files in the models directory.

  • reduces the amount of code in models.py
  • allows for easier model maintenance

@paul-gauthier
Copy link
Collaborator

Interesting. Thanks for putting this together.

How did you transcribe the python module settings over into yaml? How do we know there were no changes/typos/mistakes?

@caseymcc
Copy link
Contributor Author

Yeah, little hard to guarantee. I asked ChatGPT-4o to do it. Looks to have done it all right, however I just manually made changes to the anthropic.yml to use anchors hopefully I didn't miss anything.

@caseymcc caseymcc changed the title Move ModelSettings to yml files in the models directory Move ModelSettings to yml files in the models directory (Draft) Jan 12, 2025
@caseymcc
Copy link
Contributor Author

I need to step out for a little and looks like some of the test are still failing so slapping a (Draft) on this till I can fix the issues.

@caseymcc
Copy link
Contributor Author

I let aider (via anthropic) handle the yml anchors, should be good to go.

@caseymcc caseymcc changed the title Move ModelSettings to yml files in the models directory (Draft) Move ModelSettings to yml files in the models directory (Ready) Jan 12, 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