Skip to content

documentation contribution, i got error running server #545

@jitvimol

Description

@jitvimol

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions