@ax-llm/ax 10.0.34 → 10.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.cjs CHANGED
@@ -2204,7 +2204,7 @@ var AxAIGoogleGeminiImpl = class {
2204
2204
  throw new Error("Chat prompt is empty");
2205
2205
  }
2206
2206
  const apiConfig = {
2207
- name: stream ? `/models/${model}:streamGenerateContent?alt=sse` : `/models/${model}:createContent`
2207
+ name: stream ? `/models/${model}:streamGenerateContent?alt=sse` : `/models/${model}:generateContent`
2208
2208
  };
2209
2209
  if (this.isVertex === false) {
2210
2210
  const pf = stream ? "&" : "?";