Skip to content

SPL plugin not working #264

@lq13918508248

Description

@lq13918508248

After I launch optillm service using
python optillm.py --base_url http://localhost:8082/v1

I started another terminal to run my own python script using
python xxx.py under optillm/scripts/

In the script I made requests like

response = client.chat.completions.create(
            model="spl-Qwen/Qwen2.5-7B-Instruct",
            messages=[
                {"role": "system", "content": system_prompt},
                {"role": "user", "content": user_prompt}
            ],
            extra_body= {"spl_learning": True},
        )

However I got error

Error processing request: attempted relative import with no known parent package

Image

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