@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.js CHANGED
@@ -2110,7 +2110,7 @@ var AxAIGoogleGeminiImpl = class {
2110
2110
  throw new Error("Chat prompt is empty");
2111
2111
  }
2112
2112
  const apiConfig = {
2113
- name: stream ? `/models/${model}:streamGenerateContent?alt=sse` : `/models/${model}:createContent`
2113
+ name: stream ? `/models/${model}:streamGenerateContent?alt=sse` : `/models/${model}:generateContent`
2114
2114
  };
2115
2115
  if (this.isVertex === false) {
2116
2116
  const pf = stream ? "&" : "?";