Merge pull request #3835 from tim-jagenberg-piscada/bugfix/vertexai_embed
remove duplicate `/` in VertexAI _embed
This commit is contained in:
commit
dd8641be3e
1 changed files with 1 additions and 1 deletions
|
|
@ -445,7 +445,7 @@ class VertexAI extends BaseLLM {
|
|||
}
|
||||
|
||||
const resp = await this.fetch(
|
||||
new URL(this.apiBase + `/publishers/google/models/${this.model}:predict`),
|
||||
new URL(`publishers/google/models/${this.model}:predict`, this.apiBase),
|
||||
{
|
||||
method: "POST",
|
||||
body: JSON.stringify({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue