coder / aicommit

become the world's laziest committer
Creative Commons Zero v1.0 Universal
135 stars 3 forks source link

err: open repo: repository does not exist #3

Closed anacrolix closed 2 months ago

anacrolix commented 2 months ago

On macOS:

> aicommit -d
err: open repo: repository does not exist

Not sure what I've done wrong.

ammario commented 2 months ago

Are you running the command from a git repo? i.e. does your current working directory have a .git directory?

anacrolix commented 2 months ago

No, I wasn't in the root. That fixed it.

Unrelated, but I have a key but have no idea how to make the model available.

err: error, status code: 404, message: The model `gpt-4o` does not exist or you do not have access to it
ammario commented 2 months ago

That's weird. Anyways I added support for changing the model here https://github.com/coder/aicommit/commit/16e0b9a4f969d04bbc64e87054762a1fd4cff2fe and tagged a new release, so binaries will be available shortly.