Commit 8932d5f
authored
Update llm.rst
In latest version, if you don't add the model provider separated by a slash in front of the model name, this will return error.
File ".venv/lib/python3.11/site-packages/scrapegraphai/graphs/abstract_graph.py", line 180, in _create_llm
f"""Provider {llm_params['model_provider']} is not supported.
~~~~~~~~~~^^^^^^^^^^^^^^^^^^
KeyError: 'model_provider'
I tested adding "ollama/" in front of model name and it works. I assume this should be fixed for other providers too, but I haven't tested that personally.1 parent db3afad commit 8932d5f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments