smol-ai / developer

the first library to let you embed a developer agent in your own app!
https://twitter.com/SmolModels
MIT License
11.76k stars 1.03k forks source link

dev experience tweaks #138

Open sestinj opened 11 months ago

sestinj commented 11 months ago

Hi there! Was playing around with smol-dev (thinking of integrating with Continue soon : )) and came across a few bumps when setting up, so figured I might just share the changes I made for myself. Open to leaving out anything that you think doesn't belong, but here's what I edited:

*It's notable that I removed .vscode from the .gitignore, which means that someone with a prior settings.json mighta accidentally commit that if they don't notice, but there would first be merge conflicts to warn them and this file isn't meant to be secret, so should be okay.

If this is a lot for one PR let me know, happy to leave things out or split them up!


Error when trying poetry add prior to changing the python requirement

The current project's Python requirement (>=3.8) is not compatible with some of the required packages Python requirement:
  - agent-protocol requires Python >=3.7,<4.0.0, so it will not be satisfied for Python >=4.0.0
  - agent-protocol requires Python >=3.7,<4.0.0, so it will not be satisfied for Python >=4.0.0

Because no versions of agent-protocol match >0.2.3,<0.2.4 || >0.2.4,<0.3.0
 and agent-protocol (0.2.4) requires Python >=3.7,<4.0.0, agent-protocol is forbidden.
So, because agent-protocol (0.2.3) requires Python >=3.7,<4.0.0
 and smol-dev depends on agent-protocol (^0.2.3), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties

    For agent-protocol, a possible solution would be to set the `python` property to ">=3.8,<4.0.0"
    For agent-protocol, a possible solution would be to set the `python` property to ">=3.8,<4.0.0"