fix: use base_url property instead of _base_url in /messages proxy
This commit is contained in:
parent
46fcf98e74
commit
783ea77b9f
1 changed files with 1 additions and 1 deletions
|
|
@ -2264,7 +2264,7 @@ async def anthropic_messages(
|
|||
detail = "No GGUF model loaded. The Messages API requires a GGUF model.",
|
||||
)
|
||||
|
||||
base_url = llama_backend._base_url
|
||||
base_url = llama_backend.base_url
|
||||
if not base_url:
|
||||
raise HTTPException(status_code = 503, detail = "llama-server is not running")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue