Skip to content

Commit

Permalink
Update yarn.lock, remove unnecessary console, add watch script
Browse files Browse the repository at this point in the history
  • Loading branch information
Corina Gum committed Dec 3, 2024
1 parent 16a229e commit 9fc336e
Show file tree
Hide file tree
Showing 3 changed files with 433 additions and 345 deletions.
3 changes: 2 additions & 1 deletion js/packages/teams-ai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"test": "npx mocha -r ts-node/register src/**/*.spec.ts",
"test:debug": "ts-mocha src/**/*.spec.ts --inspect-brk",
"test:coverage": "nyc --reporter=html --reporter=text --reporter=text-summary npm test",
"test:compat": "npx api-extractor run --verbose"
"test:compat": "npx api-extractor run --verbose",
"watch": "tsc -b --watch"
},
"files": [
"_ts3.4",
Expand Down
3 changes: 1 addition & 2 deletions js/packages/teams-ai/src/planners/AssistantsPlanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,7 @@ export class AssistantsPlanner<TState extends TurnState = TurnState> implements
toolOutputs.push({ tool_call_id: toolCallId, output });
}
}
// check this method; check for new run or no new run
console.log('calling runs submittooloutputs');

const run = await this._client.beta.threads.runs.submitToolOutputsAndPoll(
assistantsState.thread_id!,
assistantsState.run_id!,
Expand Down
Loading

0 comments on commit 9fc336e

Please sign in to comment.