@mastra/core 0.1.23 → 0.1.24
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/dist/core.esm.js
CHANGED
|
@@ -5891,18 +5891,18 @@ if (process.env.OPENAI_API_KEY) {
|
|
|
5891
5891
|
function createAssistantAgentHandler(logger) {
|
|
5892
5892
|
return /*#__PURE__*/function () {
|
|
5893
5893
|
var _createAssistantAgent = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref) {
|
|
5894
|
-
var name, instructions, model, tools,
|
|
5894
|
+
var name, instructions, model, tools, assistant;
|
|
5895
5895
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
5896
5896
|
while (1) switch (_context.prev = _context.next) {
|
|
5897
5897
|
case 0:
|
|
5898
|
-
name = _ref.name, instructions = _ref.instructions, model = _ref.model, tools = _ref.tools
|
|
5898
|
+
name = _ref.name, instructions = _ref.instructions, model = _ref.model, tools = _ref.tools;
|
|
5899
5899
|
_context.next = 3;
|
|
5900
5900
|
return client.beta.assistants.create({
|
|
5901
5901
|
name: name,
|
|
5902
5902
|
model: model,
|
|
5903
5903
|
instructions: instructions,
|
|
5904
|
-
tools: tools
|
|
5905
|
-
response_format
|
|
5904
|
+
tools: tools
|
|
5905
|
+
//response_format,
|
|
5906
5906
|
});
|
|
5907
5907
|
case 3:
|
|
5908
5908
|
assistant = _context.sent;
|
|
@@ -5947,8 +5947,8 @@ function updateAssistantAgentHandler(logger) {
|
|
|
5947
5947
|
name: name,
|
|
5948
5948
|
model: model,
|
|
5949
5949
|
instructions: instructions,
|
|
5950
|
-
tools: tools
|
|
5951
|
-
response_format
|
|
5950
|
+
tools: tools
|
|
5951
|
+
//response_format,
|
|
5952
5952
|
});
|
|
5953
5953
|
case 4:
|
|
5954
5954
|
assistant = _context2.sent;
|