lhenault / simpleAI

An easy way to host your own AI API and expose alternative models, while being compatible with "open" AI clients.

Home Page:https://pypi.org/project/simple-ai-server/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Annotated not available until python 3.9

Nintorac opened this issue · comments

It's used in src/simple_ai/server.py

It prevents the Dockerfiles in the examples from running a fast api server and conflicts with the pyproject dependency of python = "^3.8"

edit: and tomllib at python 3.11

Any suggestion here? I'd be fine with python = "^3.9", annotations are quite helpful even if just a nice to have.

3.11 would be good too but maybe too recent for some, we could rely on tomli for older versions.

No strong opinions either way, "^3.9" sounds good.

It looks like conditional dependencies are a thing too https://www.b-list.org/weblog/2022/nov/08/python-311-gotcha/

Should be fixed by #10