Skip to content

Commit

Permalink
support for API versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoudz committed May 18, 2024
1 parent b33a292 commit d02da0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/AiAssistantEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ class AiAssistantEngine extends EventEmitter {
const response = await fetch(`${this.apiUrl}/processor/run`, {
method: 'POST',
headers: {
'api-version': 'v1',
'x-api-key': this.apiKey,
},
body: formData,
Expand Down

0 comments on commit d02da0a

Please sign in to comment.