Skip to content

Call to undefined method DeepSeek\DeepSeekClient::withTemperature() #45

@nbao

Description

@nbao

Install with composer and test with exemple use

$baseUrl = 'http://127.0.0.1:1234/v1'; // LLM Studio locally
      $client = DeepSeekClient::build(apiKey: $apiKey, baseUrl: $baseUrl, timeout:30, clientType:'symfony')
        ->withModel($model)
        ->withStream();
        ->withTemperature(1.2);

I got error;
Call to undefined method DeepSeek\DeepSeekClient::withTemperature()
remove ->withTemperature()
i got
{"error":"Unexpected endpoint or method. (POST /chat/completions)"}
it is missing v1

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