Skip to content

Not able to access qwen inference model: Invalid username of password #55

@aswinpajayan

Description

@aswinpajayan

With the code provided for client app.py
I am not able to access the inference model.

Error message:

   raise AgentGenerationError(f"Error in generating model output:\n{e}", self.logger) from e
smolagents.utils.AgentGenerationError: Error in generating model output:
401 Client Error: Unauthorized for url: https://router.huggingface.co/hf-inference/models/Qwen/Qwen2.5-Coder-32B-Instruct/v1/chat/completions (Request ID: Root=1-68315bcf-3b94db0e1523ae07246e9ef4;27f23374-cd3d-4a0e-b756-09d3dba4bcf7)

Invalid username or password.

Have the same issue while running the client from hugging face client as well

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