Commit ea4a2f7
committed
Remove google.generativeai dependency
The dep is not compatible with DA 1.8.X due to further dependency chain
conflicts. Just removing the python dependency will fix issues with those
versions, while allowing the feature to still work on DA 1.7.X and below.
Does add some quick documentation about the feature on the README page,
so the feature doesn't disappear into "code only" documentation.
In the future, could consider using optional dependencies
(https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#dependencies-and-requirements)
and packaging extras to still allow folks to install the gen ai dependency with
`docassemble.GitHubFeedback[genai]`. This will be simpler once we transition
to `pyproject.toml`, which only has good support in DA 1.8.X.
Fix #74.1 parent a49b8e8 commit ea4a2f7
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments