http Post
Sendet eine POST-Anfrage an den LLAMA-Server und gibt den Antworttext zurück.
Return
Der Antworttext als String.
Parameters
endpoint
The API endpoint path (e.g., /v1/chat/completions).
json Body
The JSON request body.
timeout Ms
Read timeout in milliseconds.
port
Optional port override. Defaults to the current server port.
Throws
on non-2xx responses.