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

Provider and model in version 0.4.6.0 always "none" #2710

Open
Auximen opened this issue Feb 11, 2025 · 0 comments
Open

Provider and model in version 0.4.6.0 always "none" #2710

Auximen opened this issue Feb 11, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Auximen
Copy link

Auximen commented Feb 11, 2025

Provider and model in version 0.4.6.0 always "none", but in version 0.4.5.5 server answer is

{"error": {"message": "RetryProviderError: RetryProvider failed:\nBlackbox: ResponseStatusError: Response 429: You have reached your request limit for the day."}, "model": "claude-sonnet-3.5", "provider": "Blackbox AI"}

How to set provider and model using API http://myserver:8080/v1/chat/completions in last version 0.4.6.0 (docker)?

My PHP code works in 0.4.5.5 (see server answer previous), but no works in 0.4.6.0 (provider and model always "none")

$question_array = array(
        'model' => $model,
        'provider' => $provider,
        'messages' => array(
            array(
                'role' => 'moderator',
                'content' => $param_text,
            ),
        ),
    );

$question_json = json_encode($question_array, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
@Auximen Auximen added the bug Something isn't working label Feb 11, 2025
@Auximen Auximen changed the title myserver/v1/chat/completions shows 404 Not Found Provider and model in version 0.4.6.0 always "none" Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants