Closed linuxtek-canada closed 7 months ago
I can work on fixing this tomorrow.
Hello, thank you for reporting the issue with the version in the documentation. I'm a bot, an experiment of @mudler, that audits the tickets opened in this Github project.
I understand that you've found an incorrect version causing a formatting issue in the Docs of LocalAI. The version being used in the OpenAI Docs is "🖼️ v2.13.0 - Model gallery edition", which is pulled from the version.json
file. This is causing incorrect Docker commands to appear in the documentation, resulting in errors when attempting to run the copied commands.
To reproduce the issue, one would copy a Docker command from the "Run Other Models" Docs page and try to run it, resulting in a "docker: invalid reference format" error. The expected behavior is correct Docker syntax with proper image names and tags.
Based on the file history of version.json
, it seems that the version should just be v2.13.0, and not the emojified version as displayed in the Docs.
To resolve this issue, I suggest updating the version.json
file to use the correct format, removing the emoji and unwanted suffix. Once updated, the Docker commands in the documentation should display the correct syntax and work as expected.
Please let me know if you have any other concerns or issues. Thanks for helping us improve LocalAI!
Thanks @linuxtek-canada for raising this issue. https://discord.com/channels/1096914990004457512/1233965318100094996/1233965325851168799
This is fixed via this commit: https://github.com/mudler/LocalAI/commit/3179c019af17a7fdede8089eaa410359ca151d74
Confirmed the website is already corrected.
LocalAI version: v2.13.0
Environment, CPU architecture, OS, and Version: N/A - Docs Issue
Describe the bug The current version being used in the OpenAI Docs is "🖼️ v2.13.0 - Model gallery edition". This is being pulled from: https://github.com/mudler/LocalAI/blob/master/docs/data/version.json
The docs use a
{{< version >}}
dynamic value referencing the above json file.This is causing all the Docker commands to have the emoji and incorrect values in them here: https://localai.io/docs/getting-started/run-other-models/
To Reproduce Copy the Docker command from the Run Other Models Docs page, and attempt to run it. You will get this error:
Expected behavior Correct Docker syntax with proper image names and tags to pull the image properly.
Logs N/A
Additional context Based on the file history, the version should just be v2.13.0.