goblin-agents 1.0.1 → 1.0.2

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.
@@ -148,7 +148,11 @@ class OpenAIProvider extends LLMProvider {
148
148
  delete chatRequest.format;
149
149
  }
150
150
  const query = `${this.#baseUrl}/chat/completions`;
151
- const chat = await this.#openAI._post(query, chatRequest);
151
+ const chat = await this.#openAI._post(query, chatRequest, {
152
+ retry: {
153
+ methods: ['POST'],
154
+ },
155
+ });
152
156
  const {choices} = chat;
153
157
  if (chat.error) {
154
158
  const err = new Error(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goblin-agents",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "AI Agents framework",
5
5
  "author": "Samuel Loup",
6
6
  "license": "MIT",