Prepend 'http://' to host in ChromaConnectionDetails

Modify getHost method to return a properly formatted URL string. This
ensures that the Chroma client can correctly connect to the service
when using Docker Compose.

Fixes #1395
This commit is contained in:
Eddú Meléndez
2024-09-23 13:47:51 -06:00
committed by Mark Pollack
parent c205c7d5ca
commit ee00c620c6

View File

@@ -60,7 +60,7 @@ class ChromaDockerComposeConnectionDetailsFactory
@Override
public String getHost() {
return this.host;
return "http://%s".formatted(this.host);
}
@Override