Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation contribution, i got error running server #345

Open
jitvimol opened this issue Jan 24, 2025 · 0 comments
Open

documentation contribution, i got error running server #345

jitvimol opened this issue Jan 24, 2025 · 0 comments

Comments

@jitvimol
Copy link

jitvimol commented Jan 24, 2025

after install smolagents prepare for document contribution below

pip install -e .
pipenv install git+https://github.com/huggingface/doc-builder@main
pipenv install watchdog

when i try to run these command,

doc-builder build smolagents docs/source/en/ --build_dir ~/tmp/test-build. 
doc-builder preview smolagents docs/source/en/

i got error

raise type(e)(f"There was an error when converting {file} to the MDX format.\n" + e.args[0]) from e
ValueError: There was an error when converting docs/source/en/reference/agents.md to the MDX format.
Unable to find AzureOpenAIServerModel in smolagents. Make sure the path to that object is correct.

Can you advise how to fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant