Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C#] feat: Implemented basic changes needed to support streaming tool calls #2214

Merged
merged 18 commits into from
Dec 9, 2024

Conversation

Stevenic
Copy link
Contributor

@Stevenic Stevenic commented Dec 3, 2024

Linked issues

closes: #2098

Details

Port the streaming support for tools augmentation to C#.

Change details

  • Added StreamingChatToolCallsBuilder and SequenceBuilder helper classes.
  • Updated OpenAIModel class to process tool call chunks and return them as a message with ActionCalls.
  • Updated the LLMClient class to pass through the ActionCalls without closing the streaming response session.

code snippets:

screenshots:

Attestation Checklist

  • My code follows the style guidelines of this project

  • I have checked for/fixed spelling, linting, and other errors

  • I have commented my code for clarity

  • I have made corresponding changes to the documentation (updating the doc strings in the code is sufficient)

  • My changes generate no new warnings

  • I have added tests that validates my changes, and provides sufficient test coverage. I have tested with:

    • Local testing
    • E2E testing in Teams
  • New and existing unit tests pass locally with my changes

Additional information

Feel free to add other relevant information below

singhk97 and others added 7 commits November 12, 2024 08:57
## Linked issues

closes: #minor

## Details
* Add rajan-chari to CODEOWNERS for JS, .NET, and Python

## Attestation Checklist

- [x] My code follows the style guidelines of this project

- I have checked for/fixed spelling, linting, and other errors
- I have commented my code for clarity
- I have made corresponding changes to the documentation (updating the
doc strings in the code is sufficient)
- My changes generate no new warnings
- I have added tests that validates my changes, and provides sufficient
test coverage. I have tested with:
  - Local testing
  - E2E testing in Teams
- New and existing unit tests pass locally with my changes
## Linked issues

closes: #minor

## Details
Introduce fix:
* microsoft#2178

## Attestation Checklist

- [x] My code follows the style guidelines of this project

- I have checked for/fixed spelling, linting, and other errors
- I have commented my code for clarity
- I have made corresponding changes to the documentation (updating the
doc strings in the code is sufficient)
- My changes generate no new warnings
- I have added tests that validates my changes, and provides sufficient
test coverage. I have tested with:
  - Local testing
  - E2E testing in Teams
- New and existing unit tests pass locally with my changes

### Additional information

> Feel free to add other relevant information below

---------

Co-authored-by: Lily Du <[email protected]>
Co-authored-by: lilydu <[email protected]>
…h 2 updates (microsoft#2187)

#minor Bumps the production group with 2 updates in the / directory:
[danielpalme/ReportGenerator-GitHub-Action](https://github.com/danielpalme/reportgenerator-github-action)
and [github/codeql-action](https://github.com/github/codeql-action).

Updates `danielpalme/ReportGenerator-GitHub-Action` from 5.3.11 to 5.4.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/danielpalme/reportgenerator-github-action/releases">danielpalme/ReportGenerator-GitHub-Action's
releases</a>.</em></p>
<blockquote>
<h2>5.4.1</h2>
<ul>
<li><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/707">#707</a>
Fixed issue with file filters</li>
</ul>
<h2>5.4.0</h2>
<ul>
<li>Added support for .NET 9. Dropped support for .NET 6 and .NET 7</li>
<li><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/699">#699</a>
Rounding crap score to full number</li>
<li><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/700">#700</a>
Fixed handling of .netconfig files (sourceDirectories, reportTypes,
plugins, assemblyFilters, etc.)</li>
<li><a
href="https://redirect.github.com/danielpalme/reportgenerator-github-action/issues/704">#704</a>
Improved handling of file filters</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/810356ce07a94200154301fb73d878e327b2dd58"><code>810356c</code></a>
5.4.1</li>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/51bf1a384133df0710ee9a3e37dbf1c829f33677"><code>51bf1a3</code></a>
5.4.0</li>
<li><a
href="https://github.com/danielpalme/ReportGenerator-GitHub-Action/commit/3c6f69882f8d182fd39bf95285c3c9a586d31501"><code>3c6f698</code></a>
5.4.0</li>
<li>See full diff in <a
href="https://github.com/danielpalme/reportgenerator-github-action/compare/62f9e70ab348d56eee76d446b4db903a85ab0ea8...810356ce07a94200154301fb73d878e327b2dd58">compare
view</a></li>
</ul>
</details>
<br />

Updates `github/codeql-action` from 3.27.0 to 3.27.4
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/releases">github/codeql-action's
releases</a>.</em></p>
<blockquote>
<h2>v3.27.4</h2>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>3.27.4 - 14 Nov 2024</h2>
<p>No user facing changes.</p>
<p>See the full <a
href="https://github.com/github/codeql-action/blob/v3.27.4/CHANGELOG.md">CHANGELOG.md</a>
for more information.</p>
<h2>v3.27.3</h2>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>3.27.3 - 12 Nov 2024</h2>
<p>No user facing changes.</p>
<p>See the full <a
href="https://github.com/github/codeql-action/blob/v3.27.3/CHANGELOG.md">CHANGELOG.md</a>
for more information.</p>
<h2>v3.27.2</h2>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>3.27.2 - 12 Nov 2024</h2>
<ul>
<li>Fixed an issue where setting up the CodeQL tools would sometimes
fail with the message &quot;Invalid value 'undefined' for header
'authorization'&quot;. <a
href="https://redirect.github.com/github/codeql-action/pull/2590">#2590</a></li>
</ul>
<p>See the full <a
href="https://github.com/github/codeql-action/blob/v3.27.2/CHANGELOG.md">CHANGELOG.md</a>
for more information.</p>
<h2>v3.27.1</h2>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>3.27.1 - 08 Nov 2024</h2>
<ul>
<li>The CodeQL Action now downloads bundles compressed using Zstandard
on GitHub Enterprise Server when using Linux or macOS runners. This
speeds up the installation of the CodeQL tools. This feature is already
available to GitHub.com users. <a
href="https://redirect.github.com/github/codeql-action/pull/2573">#2573</a></li>
<li>Update default CodeQL bundle version to 2.19.3. <a
href="https://redirect.github.com/github/codeql-action/pull/2576">#2576</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's
changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>3.27.4 - 14 Nov 2024</h2>
<p>No user facing changes.</p>
<h2>3.27.3 - 12 Nov 2024</h2>
<p>No user facing changes.</p>
<h2>3.27.2 - 12 Nov 2024</h2>
<ul>
<li>Fixed an issue where setting up the CodeQL tools would sometimes
fail with the message &quot;Invalid value 'undefined' for header
'authorization'&quot;. <a
href="https://redirect.github.com/github/codeql-action/pull/2590">#2590</a></li>
</ul>
<h2>3.27.1 - 08 Nov 2024</h2>
<ul>
<li>The CodeQL Action now downloads bundles compressed using Zstandard
on GitHub Enterprise Server when using Linux or macOS runners. This
speeds up the installation of the CodeQL tools. This feature is already
available to GitHub.com users. <a
href="https://redirect.github.com/github/codeql-action/pull/2573">#2573</a></li>
<li>Update default CodeQL bundle version to 2.19.3. <a
href="https://redirect.github.com/github/codeql-action/pull/2576">#2576</a></li>
</ul>
<h2>3.27.0 - 22 Oct 2024</h2>
<ul>
<li>Bump the minimum CodeQL bundle version to 2.14.6. <a
href="https://redirect.github.com/github/codeql-action/pull/2549">#2549</a></li>
<li>Fix an issue where the <code>upload-sarif</code> Action would fail
with &quot;upload-sarif post-action step failed: Input required and not
supplied: token&quot; when called in a composite Action that had a
different set of inputs to the ones expected by the
<code>upload-sarif</code> Action. <a
href="https://redirect.github.com/github/codeql-action/pull/2557">#2557</a></li>
<li>Update default CodeQL bundle version to 2.19.2. <a
href="https://redirect.github.com/github/codeql-action/pull/2552">#2552</a></li>
</ul>
<h2>3.26.13 - 14 Oct 2024</h2>
<p>No user facing changes.</p>
<h2>3.26.12 - 07 Oct 2024</h2>
<ul>
<li>
<p><em>Upcoming breaking change</em>: Add a deprecation warning for
customers using CodeQL version 2.14.5 and earlier. These versions of
CodeQL were discontinued on 24 September 2024 alongside GitHub
Enterprise Server 3.10, and will be unsupported by CodeQL Action
versions 3.27.0 and later and versions 2.27.0 and later. <a
href="https://redirect.github.com/github/codeql-action/pull/2520">#2520</a></p>
<ul>
<li>
<p>If you are using one of these versions, please update to CodeQL CLI
version 2.14.6 or later. For instance, if you have specified a custom
version of the CLI using the 'tools' input to the 'init' Action, you can
remove this input to use the default version.</p>
</li>
<li>
<p>Alternatively, if you want to continue using a version of the CodeQL
CLI between 2.13.5 and 2.14.5, you can replace
<code>github/codeql-action/*@V3</code> by
<code>github/codeql-action/*@v3.26.11</code> and
<code>github/codeql-action/*@v2</code> by
<code>github/codeql-action/*@v2.26.11</code> in your code scanning
workflow to ensure you continue using this version of the CodeQL
Action.</p>
</li>
</ul>
</li>
</ul>
<h2>3.26.11 - 03 Oct 2024</h2>
<ul>
<li>
<p><em>Upcoming breaking change</em>: Add support for using
<code>actions/download-artifact@v4</code> to programmatically consume
CodeQL Action debug artifacts.</p>
<p>Starting November 30, 2024, GitHub.com customers will <a
href="https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/">no
longer be able to use <code>actions/download-artifact@v3</code></a>.
Therefore, to avoid breakage, customers who programmatically download
the CodeQL Action debug artifacts should set the
<code>CODEQL_ACTION_ARTIFACT_V4_UPGRADE</code> environment variable to
<code>true</code> and bump <code>actions/download-artifact@v3</code> to
<code>actions/download-artifact@v4</code> in their workflows. The CodeQL
Action will enable this behavior by default in early November and
workflows that have not yet bumped to
<code>actions/download-artifact@v3</code> to
<code>actions/download-artifact@v4</code> will begin failing then.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/github/codeql-action/commit/ea9e4e37992a54ee68a9622e985e60c8e8f12d9f"><code>ea9e4e3</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2605">#2605</a>
from github/update-v3.27.4-3ab67a219</li>
<li><a
href="https://github.com/github/codeql-action/commit/845ea9230baa1c02f895802221f61eb448caa267"><code>845ea92</code></a>
Update changelog for v3.27.4</li>
<li><a
href="https://github.com/github/codeql-action/commit/3ab67a21932f9425e7dca53353787b8dda8e89d9"><code>3ab67a2</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2597">#2597</a>
from github/mbg/caching/output-improvements</li>
<li><a
href="https://github.com/github/codeql-action/commit/6e3a010dfe7e41114c548b680d885bbd55b2834e"><code>6e3a010</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2583">#2583</a>
from jsoref/use-artifact-4</li>
<li><a
href="https://github.com/github/codeql-action/commit/1c83cd12920695d0a30eb88c71a10f79f5ae22b4"><code>1c83cd1</code></a>
Upgrade actions/upload-artifact to v4</li>
<li><a
href="https://github.com/github/codeql-action/commit/024283fcc9914a2f29343fa25558256c1799501f"><code>024283f</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2602">#2602</a>
from github/mergeback/v3.27.3-to-main-396bb3e4</li>
<li><a
href="https://github.com/github/codeql-action/commit/613fe96926eddbad17ae49a608c6cd6fb07c4d10"><code>613fe96</code></a>
Update checked-in dependencies</li>
<li><a
href="https://github.com/github/codeql-action/commit/e35d4aa1da5d4ef385c387ee6ad1f286494398f5"><code>e35d4aa</code></a>
Update changelog and version after v3.27.3</li>
<li><a
href="https://github.com/github/codeql-action/commit/396bb3e45325a47dd9ef434068033c6d5bb0d11a"><code>396bb3e</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2601">#2601</a>
from github/update-v3.27.3-f04790367</li>
<li><a
href="https://github.com/github/codeql-action/commit/2b1319450a8536cc55c2629acf08b8de0d6974fc"><code>2b13194</code></a>
Update changelog for v3.27.3</li>
<li>Additional commits viewable in <a
href="https://github.com/github/codeql-action/compare/662472033e021d55d94146f66f6058822b0b39fd...ea9e4e37992a54ee68a9622e985e60c8e8f12d9f">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…3 updates (microsoft#2189)

#minor Bumps the production group with 3 updates in the /js directory:
[@azure/msal-node](https://github.com/AzureAD/microsoft-authentication-library-for-js),
[gpt-tokenizer](https://github.com/niieani/gpt-tokenizer) and
[@microsoft/teams-js](https://github.com/OfficeDev/microsoft-teams-library-js/tree/HEAD/packages/teams-js).

Updates `@azure/msal-node` from 2.15.0 to 2.16.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/releases"><code>@​azure/msal-node</code>'s
releases</a>.</em></p>
<blockquote>
<h2><code>@​azure/msal-node</code> v2.16.1</h2>
<h2>2.16.1</h2>
<p>Tue, 12 Nov 2024 15:32:46 GMT</p>
<h3>Patches</h3>
<ul>
<li>Fixes bug where getAllAccounts always writes to the cache (<a
href="mailto:[email protected]">[email protected]</a>)</li>
<li>Bump eslint-config-msal to v0.0.0 (beachball)</li>
<li>Bump rollup-msal to v0.0.0 (beachball)</li>
</ul>
<h2><code>@​azure/msal-node</code> v2.16.0</h2>
<h2>2.16.0</h2>
<p>Tue, 05 Nov 2024 18:58:45 GMT</p>
<h3>Minor changes</h3>
<ul>
<li>Add first order broker parameters <a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-js/issues/7348">#7348</a>
(<a
href="mailto:[email protected]">[email protected]</a>)</li>
<li>Make clear synchronous (<a
href="mailto:[email protected]">[email protected]</a>)</li>
<li>Remove NetworkManager class (<a
href="mailto:[email protected]">[email protected]</a>)</li>
<li>Region auto enable on env variable <a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-js/issues/7354">#7354</a>
(<a
href="mailto:[email protected]">[email protected]</a>)</li>
<li>Bump <code>@​azure/msal-common</code> to v14.16.0 (beachball)</li>
<li>Bump eslint-config-msal to v0.0.0 (beachball)</li>
<li>Bump rollup-msal to v0.0.0 (beachball)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/f8109152c1aeee9e9ba7ac3c8ab2d77817b078d4"><code>f810915</code></a>
Bump package versions</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/411d815f623a777c57444eed827b599a4f2570c4"><code>411d815</code></a>
getAllAccounts always writes to cache (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-js/issues/7378">#7378</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/056024ed9c725c5adaa241d5bec164e315e0f2f7"><code>056024e</code></a>
Bump package versions</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/1bd3b55dcfd3b544359cc41ff58c63208fd52116"><code>1bd3b55</code></a>
Update CODEOWNERS (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-js/issues/7404">#7404</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/2e1e9d851841c73ae377bdc87f096036d51606da"><code>2e1e9d8</code></a>
Enable New Client Credential Certificate E2E Tests on Pipeline (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-js/issues/7403">#7403</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/dbc00404c7b0b4c2aab885b1606428d4ffd3f276"><code>dbc0040</code></a>
Added E2E Test: Client Credentials with Certificate from Key Vault (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-js/issues/7367">#7367</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/098a9572d60b156f6e927188d6544b46b0dd2351"><code>098a957</code></a>
Region auto enable on env variable (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-js/issues/7354">#7354</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/933f21db75177809d3fa541dc703ae7eea6e2545"><code>933f21d</code></a>
Updated CodeOwners (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-js/issues/7391">#7391</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/b18c3da24fb9d24a0a50dfcfa6137d006937cdd8"><code>b18c3da</code></a>
Replace MSA lab account with hardcoded UPN (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-js/issues/7397">#7397</a>)</li>
<li><a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/commit/df26209f7cf78f5e27c9d001eb24e9741344a8a7"><code>df26209</code></a>
Collect additional telemetry for crypto/runtime errors (<a
href="https://redirect.github.com/AzureAD/microsoft-authentication-library-for-js/issues/7394">#7394</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/AzureAD/microsoft-authentication-library-for-js/compare/msal-node-v2.15.0...msal-node-v2.16.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `gpt-tokenizer` from 2.5.1 to 2.6.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/niieani/gpt-tokenizer/releases">gpt-tokenizer's
releases</a>.</em></p>
<blockquote>
<h2>2.6.2</h2>
<h2><a
href="https://github.com/niieani/gpt-tokenizer/compare/2.6.1...2.6.2">2.6.2</a>
(2024-11-13)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>correct special token matching &amp; counting (<a
href="https://github.com/niieani/gpt-tokenizer/commit/3547826b37e829009a40d421a3733a54d13cd452">3547826</a>)</li>
<li>unify property and variable names across the library (<a
href="https://github.com/niieani/gpt-tokenizer/commit/6030d91cbd8a08876212e9e43d4eb7387465e5ac">6030d91</a>)</li>
</ul>
<h2>2.6.1</h2>
<h2><a
href="https://github.com/niieani/gpt-tokenizer/compare/2.6.0...2.6.1">2.6.1</a>
(2024-11-11)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>expose vocabulary size (<a
href="https://github.com/niieani/gpt-tokenizer/commit/402ff0bea15acdd62cf5d2069ffa94b26f8200c4">402ff0b</a>),
closes <a
href="https://redirect.github.com/niieani/gpt-tokenizer/issues/66">#66</a></li>
<li>use extensions in models.ts (<a
href="https://github.com/niieani/gpt-tokenizer/commit/78b803d4cf60dcf04b203b293378244e2efbabb2">78b803d</a>),
closes <a
href="https://redirect.github.com/niieani/gpt-tokenizer/issues/65">#65</a></li>
</ul>
<h2>2.6.0</h2>
<h1><a
href="https://github.com/niieani/gpt-tokenizer/compare/2.5.1...2.6.0">2.6.0</a>
(2024-11-04)</h1>
<h3>Bug Fixes</h3>
<ul>
<li>initialize encodings array in parts (<a
href="https://github.com/niieani/gpt-tokenizer/commit/aa6c71d1d3d6756087c5d246daa17669f94bc0a0">aa6c71d</a>),
closes <a
href="https://redirect.github.com/niieani/gpt-tokenizer/issues/62">#62</a></li>
</ul>
<h3>Features</h3>
<ul>
<li>add new and update existing models (<a
href="https://github.com/niieani/gpt-tokenizer/commit/e832f9a3c6ece43ad6f709e0fda33f7c0e68a743">e832f9a</a>)</li>
<li>provide comprehensive data for all OpenAI models (<a
href="https://github.com/niieani/gpt-tokenizer/commit/ec2ad7efc7873a303baab71853047f58becb1877">ec2ad7e</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/niieani/gpt-tokenizer/commit/3547826b37e829009a40d421a3733a54d13cd452"><code>3547826</code></a>
fix: correct special token matching &amp; counting</li>
<li><a
href="https://github.com/niieani/gpt-tokenizer/commit/6030d91cbd8a08876212e9e43d4eb7387465e5ac"><code>6030d91</code></a>
fix: unify property and variable names across the library</li>
<li><a
href="https://github.com/niieani/gpt-tokenizer/commit/ed01980d8c88e28bcff8e3514e78b9d6c2f486d5"><code>ed01980</code></a>
chore: use updated version of scaffold</li>
<li><a
href="https://github.com/niieani/gpt-tokenizer/commit/d6be673d3c73e4c99a2338e0f78ae241946ba56c"><code>d6be673</code></a>
ci: fix build step</li>
<li><a
href="https://github.com/niieani/gpt-tokenizer/commit/402ff0bea15acdd62cf5d2069ffa94b26f8200c4"><code>402ff0b</code></a>
fix: expose vocabulary size</li>
<li><a
href="https://github.com/niieani/gpt-tokenizer/commit/78b803d4cf60dcf04b203b293378244e2efbabb2"><code>78b803d</code></a>
fix: use extensions in models.ts</li>
<li><a
href="https://github.com/niieani/gpt-tokenizer/commit/f2f2663ad6304d033e55806e52fa885344b62627"><code>f2f2663</code></a>
docs: update LICENSE</li>
<li><a
href="https://github.com/niieani/gpt-tokenizer/commit/db849475fafb727818dbd7fb44a4832be899cd31"><code>db84947</code></a>
docs: improve README and add sponsors</li>
<li><a
href="https://github.com/niieani/gpt-tokenizer/commit/bc964675d2fc795e1692619d1907093944b2e8ff"><code>bc96467</code></a>
ci: fix build workflow</li>
<li><a
href="https://github.com/niieani/gpt-tokenizer/commit/e832f9a3c6ece43ad6f709e0fda33f7c0e68a743"><code>e832f9a</code></a>
feat: add new and update existing models</li>
<li>Additional commits viewable in <a
href="https://github.com/niieani/gpt-tokenizer/compare/2.5.1...2.6.2">compare
view</a></li>
</ul>
</details>
<br />

Updates `@microsoft/teams-js` from 2.30.0 to 2.31.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/OfficeDev/microsoft-teams-library-js/releases"><code>@​microsoft/teams-js</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v2.31.0</h2>
<h3>Minor changes</h3>
<ul>
<li>Made the library treeshakable</li>
<li>Made <code>externalAppAuthenticationForCEA.ts</code> throw
<code>Error</code> objects instead of <code>SdkErrors</code>.</li>
<li>Replaced <code>Buffer</code> with <code>uint8array-extras</code> to
allow for <code>buffer</code> polyfill removal</li>
<li>Added validation for AppId instance in CEA APIs</li>
<li>Changed the <code>notifySuccess</code> function to indicate through
a promise when the function finished processing in the host.</li>
<li>Added new timestamp and handler for analyzing latencies due to
message delays between app and hub.</li>
</ul>
<h3>Patches</h3>
<ul>
<li>Add userClickTimeV2 to app <code>Context</code> to provide the
timestamp when the user clicked the app using the performance timer
API.</li>
<li>Increased the initialize response wait-timeout to 60 sec</li>
<li>Removed <code>type: module</code> from package.json to fix nextjs
bug</li>
<li>Added validation for <code>IActionExecuteInvokeRequest.data</code>
element in <code>ExternalAppAuthentication</code> and
<code>ExternalAppAuthenticationForCEA</code> capabilities. The element
can be of type primitive or plain object only</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/OfficeDev/microsoft-teams-library-js/blob/v2.31.0/packages/teams-js/CHANGELOG.md"><code>@​microsoft/teams-js</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>2.31.0</h2>
<p>Wed, 13 Nov 2024 19:22:01 GMT</p>
<h3>Minor changes</h3>
<ul>
<li>Made the library treeshakable</li>
<li>Made <code>externalAppAuthenticationForCEA.ts</code> throw
<code>Error</code> objects instead of <code>SdkErrors</code>.</li>
<li>Replaced <code>Buffer</code> with <code>uint8array-extras</code> to
allow for <code>buffer</code> polyfill removal</li>
<li>Added validation for AppId instance in CEA APIs</li>
<li>Changed the <code>notifySuccess</code> function to indicate through
a promise when the function finished processing in the host.</li>
<li>Added new timestamp and handler for analyzing latencies due to
message delays between app and hub.</li>
</ul>
<h3>Patches</h3>
<ul>
<li>Add userClickTimeV2 to app <code>Context</code> to provide the
timestamp when the user clicked the app using the performance timer
API.</li>
<li>Increased the initialize response wait-timeout to 60 sec</li>
<li>Removed <code>type: module</code> from package.json to fix nextjs
bug</li>
<li>Added validation for <code>IActionExecuteInvokeRequest.data</code>
element in <code>ExternalAppAuthentication</code> and
<code>ExternalAppAuthenticationForCEA</code> capabilities. The element
can be of type primitive or plain object only</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/OfficeDev/microsoft-teams-library-js/commit/75821b06dfbea47f6c6201e699cc9f39292b0068"><code>75821b0</code></a>
Prepare release 2.31.0 (<a
href="https://github.com/OfficeDev/microsoft-teams-library-js/tree/HEAD/packages/teams-js/issues/2618">#2618</a>)</li>
<li><a
href="https://github.com/OfficeDev/microsoft-teams-library-js/commit/1a1824d648719831bff68dce67c092a40cfbf9e1"><code>1a1824d</code></a>
Adding appId class type validation to CEA APIs (<a
href="https://github.com/OfficeDev/microsoft-teams-library-js/tree/HEAD/packages/teams-js/issues/2612">#2612</a>)</li>
<li><a
href="https://github.com/OfficeDev/microsoft-teams-library-js/commit/5b232cb8039576b2ca8c41a7fad894552a6f8705"><code>5b232cb</code></a>
noahdarveau/nextjs fix (<a
href="https://github.com/OfficeDev/microsoft-teams-library-js/tree/HEAD/packages/teams-js/issues/2613">#2613</a>)</li>
<li><a
href="https://github.com/OfficeDev/microsoft-teams-library-js/commit/b78350078856422e9f455e5f5fdb8befdc4732f6"><code>b783500</code></a>
noahdarveau/buffer removal (<a
href="https://github.com/OfficeDev/microsoft-teams-library-js/tree/HEAD/packages/teams-js/issues/2598">#2598</a>)</li>
<li><a
href="https://github.com/OfficeDev/microsoft-teams-library-js/commit/7d21b55b8d4c736a1f430066fbbcd5747d717df4"><code>7d21b55</code></a>
Noahdarveau/docs fix (<a
href="https://github.com/OfficeDev/microsoft-teams-library-js/tree/HEAD/packages/teams-js/issues/2601">#2601</a>)</li>
<li><a
href="https://github.com/OfficeDev/microsoft-teams-library-js/commit/97ab50d1c3338f2903890a6206354bc8c4f796f1"><code>97ab50d</code></a>
Add promise response to notify success. (<a
href="https://github.com/OfficeDev/microsoft-teams-library-js/tree/HEAD/packages/teams-js/issues/2589">#2589</a>)</li>
<li><a
href="https://github.com/OfficeDev/microsoft-teams-library-js/commit/577213c03355568cf694e7f061502b7cbae0bfa9"><code>577213c</code></a>
Niha/increase initialize time out (<a
href="https://github.com/OfficeDev/microsoft-teams-library-js/tree/HEAD/packages/teams-js/issues/2590">#2590</a>)</li>
<li><a
href="https://github.com/OfficeDev/microsoft-teams-library-js/commit/ab4604ec4586bc62bbb3314476864c5089aaf7f1"><code>ab4604e</code></a>
Validate the unknown object is either plain object of primitive (<a
href="https://github.com/OfficeDev/microsoft-teams-library-js/tree/HEAD/packages/teams-js/issues/2572">#2572</a>)</li>
<li><a
href="https://github.com/OfficeDev/microsoft-teams-library-js/commit/f2f4757142a923c0dd34a409c31f515595d8f962"><code>f2f4757</code></a>
noahdarveau/ The Last Treeshaking PR (<a
href="https://github.com/OfficeDev/microsoft-teams-library-js/tree/HEAD/packages/teams-js/issues/2593">#2593</a>)</li>
<li><a
href="https://github.com/OfficeDev/microsoft-teams-library-js/commit/6ce5c0aad6c60f4d30fba65ef4daec2c324e5ab1"><code>6ce5c0a</code></a>
noahdarveau/treeshaking private capabilities (<a
href="https://github.com/OfficeDev/microsoft-teams-library-js/tree/HEAD/packages/teams-js/issues/2592">#2592</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/OfficeDev/microsoft-teams-library-js/commits/v2.31.0/packages/teams-js">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…with 3 updates (microsoft#2190)

#minor Bumps the development group with 3 updates in the /js directory:
[@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash),
[mocha](https://github.com/mochajs/mocha) and
[tsc-watch](https://github.com/gilamran/tsc-watch).

Updates `@types/lodash` from 4.17.12 to 4.17.13
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## Linked issues

closes: microsoft#2172

## Details

parity across languages - originated with microsoft#2121 and microsoft#2133

#### Change details

- added `halt_on_blocklist_hit`
- updated with GA reqs
- updated moderation sample

## Attestation Checklist

- [x] My code follows the style guidelines of this project

- I have checked for/fixed spelling, linting, and other errors
- I have commented my code for clarity
- I have made corresponding changes to the documentation (updating the
doc strings in the code is sufficient)
- My changes generate no new warnings
- I have added tests that validates my changes, and provides sufficient
test coverage. I have tested with:
  - Local testing
  - E2E testing in Teams
- New and existing unit tests pass locally with my changes

---------

Co-authored-by: lilydu <[email protected]>
- Added StreamingChatToolCallsBuilder and SequenceBuilder helper classes.
- Updated OpenAIModel class to process tool call chunks and return them as a message with ActionCalls.
- Updated the LLMClient class to pass through the ActionCalls without closing the streaming response session.
Copy link
Contributor

@lilyydu lilyydu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM, could we also push the updates to the lightbot sample?

corinagum and others added 3 commits December 3, 2024 12:09
## Linked issues

closes: microsoft#1585

## Details

### Please note
This code updates to use v2 assistants, but file search, vector store,
and code interpreter handling have not been implemented yet. This work
was mainly to remove the dependency `@azure/openai-assistants`.

#### Change details
- Remove `@azure/openai-assistants` package and use `openai` in
`AssistantsPlanner.ts`
- Update `AssistantsPlanner.ts` to use assistants v2
- Other: 
    - Docstrings updates
    - Linting
    - Add TTK testtool to OrderBot
- Fix JSON parsing issue in ToolsAugmentation - was causing error
messages in unit tests but no negative impact on the feature.

## Attestation Checklist

- [x] My code follows the style guidelines of this project

- I have checked for/fixed spelling, linting, and other errors
- I have commented my code for clarity
- I have made corresponding changes to the documentation (updating the
doc strings in the code is sufficient)
- My changes generate no new warnings
- I have added tests that validates my changes, and provides sufficient
test coverage. I have tested with:
  - Local testing
  - E2E testing in Teams
- New and existing unit tests pass locally with my changes

### Additional information

> Feel free to add other relevant information below

---------

Co-authored-by: Corina Gum <>
…d details (microsoft#1949)

## Linked issues

closes: #minor

## Details

Provide a list of your changes here. If you are fixing a bug, please
provide steps to reproduce the bug.

#### Change details

> We have encapsulated three APIs from
[`TeamsInfo`](https://github.com/microsoft/botbuilder-js/blob/main/libraries/botbuilder/src/teamsInfo.ts)
class of `botbuilder` library: `getTeamChannels`, `getTeamDetails`, and
`getPagedMember`, to facilitate easier proactive message sending. These
three APIs have been wrapped as an initial sample. If this approach is
deemed acceptable, we intend to extend this encapsulation to include
additional APIs provided by `TeamsInfo`, such as
`sendMessageToListOfUsers`, `sendMessageToAllUsersInTenant`, and more.

PM Contact: @MuyangAmigo 

**code snippets**:
To use the APIs:
```ts
for (const reference of conversationReferences) {
  await app.sendProactiveActivity(
    reference,
    "Proactive message from RestifyNotiBot!"
  );

  if (reference.conversation?.conversationType === "channel") {
    const details = await app.getTeamDetails(reference);
    const teamMembers = await app.getPagedMembers(reference);
    console.log(details, teamMembers.members.length);
  }
}
```

**screenshots**:
Results are printed as belows, furthur

![image](https://github.com/user-attachments/assets/a0317b50-dff4-429a-89dd-832cfe95d3f4)

## Attestation Checklist

- [ ] My code follows the style guidelines of this project

- I have checked for/fixed spelling, linting, and other errors
- I have commented my code for clarity
- I have made corresponding changes to the documentation (updating the
doc strings in the code is sufficient)
- My changes generate no new warnings
- I have added tests that validates my changes, and provides sufficient
test coverage. I have tested with:
  - Local testing
  - E2E testing in Teams
- New and existing unit tests pass locally with my changes

### Additional information

> Feel free to add other relevant information below

---------

Co-authored-by: Yiqing Zhao <[email protected]>
Co-authored-by: Corina <[email protected]>
…oft#2203)

#minor Bumps the production group with 3 updates:
[actions/dependency-review-action](https://github.com/actions/dependency-review-action),
[step-security/harden-runner](https://github.com/step-security/harden-runner)
and [github/codeql-action](https://github.com/github/codeql-action).

Updates `actions/dependency-review-action` from 4.4.0 to 4.5.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/actions/dependency-review-action/releases">actions/dependency-review-action's
releases</a>.</em></p>
<blockquote>
<h2>v4.5.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Bump got from 14.4.2 to 14.4.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/dependency-review-action/pull/844">actions/dependency-review-action#844</a></li>
<li>Bump nodemon from 3.1.0 to 3.1.7 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/dependency-review-action/pull/847">actions/dependency-review-action#847</a></li>
<li>Bump <code>@​vercel/ncc</code> from 0.38.1 to 0.38.3 by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/actions/dependency-review-action/pull/849">actions/dependency-review-action#849</a></li>
<li>Overriding the cross-spawn dependency to use a safe version by <a
href="https://github.com/Ahmed3lmallah"><code>@​Ahmed3lmallah</code></a>
in <a
href="https://redirect.github.com/actions/dependency-review-action/pull/850">actions/dependency-review-action#850</a></li>
<li>fix: add summary comment on failure when warn-only: true by <a
href="https://github.com/ebickle"><code>@​ebickle</code></a> in <a
href="https://redirect.github.com/actions/dependency-review-action/pull/827">actions/dependency-review-action#827</a></li>
<li>Prepare for 4.5.0 release by <a
href="https://github.com/Ahmed3lmallah"><code>@​Ahmed3lmallah</code></a>
in <a
href="https://redirect.github.com/actions/dependency-review-action/pull/851">actions/dependency-review-action#851</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/ebickle"><code>@​ebickle</code></a> made
their first contribution in <a
href="https://redirect.github.com/actions/dependency-review-action/pull/827">actions/dependency-review-action#827</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/actions/dependency-review-action/compare/v4...v4.5.0">https://github.com/actions/dependency-review-action/compare/v4...v4.5.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/actions/dependency-review-action/commit/3b139cfc5fae8b618d3eae3675e383bb1769c019"><code>3b139cf</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/dependency-review-action/issues/851">#851</a>
from actions/ahmed3lmallah/prepare-for-4.5.0-release</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/d6807b6643179f05418e138a25fff841c8646a2a"><code>d6807b6</code></a>
updating generated code</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/c89b41fdc6d9794d60f1090afe0dca3a28344f01"><code>c89b41f</code></a>
addressing lint issues</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/eee97d8b03930b9729cc733c2064b81da03229ec"><code>eee97d8</code></a>
incrementing project version</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/9d101822a37e3a155f1fbce62bf70039ae01e834"><code>9d10182</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/dependency-review-action/issues/827">#827</a>
from ebickle/fix/comment-warn-only</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/9192be9c722c974bdd08907626f2da15cccc50d6"><code>9192be9</code></a>
Merge pull request <a
href="https://redirect.github.com/actions/dependency-review-action/issues/850">#850</a>
from actions/ahmed3lmallah/adressing-CVE-2024-21538</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/2fc8e23b125c76dce6fd50617e881d942f205855"><code>2fc8e23</code></a>
Using cross-spawn safe version</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/fb86db204331e3278a86fde515f9a3856cdd2e61"><code>fb86db2</code></a>
fix: resolve race conditions in async core.group calls</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/0a198ab3ed7324295cb94cee2d50a07dbe3fbe20"><code>0a198ab</code></a>
fix: replace integer failureCount with boolean</li>
<li><a
href="https://github.com/actions/dependency-review-action/commit/fc499fc13affcdbaad5544148db6cef2cfd5a377"><code>fc499fc</code></a>
Merge branch 'main' into fix/comment-warn-only</li>
<li>Additional commits viewable in <a
href="https://github.com/actions/dependency-review-action/compare/4081bf99e2866ebe428fc0477b69eb4fcda7220a...3b139cfc5fae8b618d3eae3675e383bb1769c019">compare
view</a></li>
</ul>
</details>
<br />

Updates `step-security/harden-runner` from 2.10.1 to 2.10.2
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/step-security/harden-runner/releases">step-security/harden-runner's
releases</a>.</em></p>
<blockquote>
<h2>v2.10.2</h2>
<h2>What's Changed</h2>
<ol>
<li>
<p>Fixes low-severity command injection weaknesses
The advisory is here: <a
href="https://github.com/step-security/harden-runner/security/advisories/GHSA-g85v-wf27-67xc">https://github.com/step-security/harden-runner/security/advisories/GHSA-g85v-wf27-67xc</a></p>
</li>
<li>
<p>Bug fix to improve detection of whether Harden-Runner is running in a
container</p>
</li>
</ol>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/step-security/harden-runner/compare/v2...v2.10.2">https://github.com/step-security/harden-runner/compare/v2...v2.10.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/step-security/harden-runner/commit/0080882f6c36860b6ba35c610c98ce87d4e2f26f"><code>0080882</code></a>
Merge pull request <a
href="https://redirect.github.com/step-security/harden-runner/issues/476">#476</a>
from step-security/rc-16</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/4a3a88bbf8f2e304f84e1042472c02dce37eba82"><code>4a3a88b</code></a>
Update dist</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/556aae632a6c1f630efa52e90d706218618e5f2f"><code>556aae6</code></a>
Merge pull request <a
href="https://redirect.github.com/step-security/harden-runner/issues/480">#480</a>
from h0x0er/jatin/cleanup</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/6c39b8466160e86ad8606033d399fe7f4052aee1"><code>6c39b84</code></a>
chore: clean the code</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/40401cf6183a0ab2dae5c7e485c1d073fe911e91"><code>40401cf</code></a>
Update for isdocker</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/806ab1cccb47a439a89d5f8f85d3ea41a7fb1e4c"><code>806ab1c</code></a>
Update check for isdocker</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/28468118cdb665b2214b64175253b83fcb4b25f6"><code>2846811</code></a>
update dist</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/df8a07c1712fac199e8d6e78d64a46092afffa44"><code>df8a07c</code></a>
Merge pull request <a
href="https://redirect.github.com/step-security/harden-runner/issues/475">#475</a>
from h0x0er/fix-execSync</li>
<li><a
href="https://github.com/step-security/harden-runner/commit/30636fb583e59a926da2f17677e5cd3b63cf1be1"><code>30636fb</code></a>
bug fixes</li>
<li>See full diff in <a
href="https://github.com/step-security/harden-runner/compare/91182cccc01eb5e619899d80e4e971d6181294a7...0080882f6c36860b6ba35c610c98ce87d4e2f26f">compare
view</a></li>
</ul>
</details>
<br />

Updates `github/codeql-action` from 3.27.4 to 3.27.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/releases">github/codeql-action's
releases</a>.</em></p>
<blockquote>
<h2>v3.27.5</h2>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>3.27.5 - 19 Nov 2024</h2>
<p>No user facing changes.</p>
<p>See the full <a
href="https://github.com/github/codeql-action/blob/v3.27.5/CHANGELOG.md">CHANGELOG.md</a>
for more information.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's
changelog</a>.</em></p>
<blockquote>
<h1>CodeQL Action Changelog</h1>
<p>See the <a
href="https://github.com/github/codeql-action/releases">releases
page</a> for the relevant changes to the CodeQL CLI and language
packs.</p>
<p>Note that the only difference between <code>v2</code> and
<code>v3</code> of the CodeQL Action is the node version they support,
with <code>v3</code> running on node 20 while we continue to release
<code>v2</code> to support running on node 16. For example
<code>3.22.11</code> was the first <code>v3</code> release and is
functionally identical to <code>2.22.11</code>. This approach ensures an
easy way to track exactly which features are included in different
versions, indicated by the minor and patch version numbers.</p>
<h2>[UNRELEASED]</h2>
<p>No user facing changes.</p>
<h2>3.27.5 - 19 Nov 2024</h2>
<p>No user facing changes.</p>
<h2>3.27.4 - 14 Nov 2024</h2>
<p>No user facing changes.</p>
<h2>3.27.3 - 12 Nov 2024</h2>
<p>No user facing changes.</p>
<h2>3.27.2 - 12 Nov 2024</h2>
<ul>
<li>Fixed an issue where setting up the CodeQL tools would sometimes
fail with the message &quot;Invalid value 'undefined' for header
'authorization'&quot;. <a
href="https://redirect.github.com/github/codeql-action/pull/2590">#2590</a></li>
</ul>
<h2>3.27.1 - 08 Nov 2024</h2>
<ul>
<li>The CodeQL Action now downloads bundles compressed using Zstandard
on GitHub Enterprise Server when using Linux or macOS runners. This
speeds up the installation of the CodeQL tools. This feature is already
available to GitHub.com users. <a
href="https://redirect.github.com/github/codeql-action/pull/2573">#2573</a></li>
<li>Update default CodeQL bundle version to 2.19.3. <a
href="https://redirect.github.com/github/codeql-action/pull/2576">#2576</a></li>
</ul>
<h2>3.27.0 - 22 Oct 2024</h2>
<ul>
<li>Bump the minimum CodeQL bundle version to 2.14.6. <a
href="https://redirect.github.com/github/codeql-action/pull/2549">#2549</a></li>
<li>Fix an issue where the <code>upload-sarif</code> Action would fail
with &quot;upload-sarif post-action step failed: Input required and not
supplied: token&quot; when called in a composite Action that had a
different set of inputs to the ones expected by the
<code>upload-sarif</code> Action. <a
href="https://redirect.github.com/github/codeql-action/pull/2557">#2557</a></li>
<li>Update default CodeQL bundle version to 2.19.2. <a
href="https://redirect.github.com/github/codeql-action/pull/2552">#2552</a></li>
</ul>
<h2>3.26.13 - 14 Oct 2024</h2>
<p>No user facing changes.</p>
<h2>3.26.12 - 07 Oct 2024</h2>
<ul>
<li>
<p><em>Upcoming breaking change</em>: Add a deprecation warning for
customers using CodeQL version 2.14.5 and earlier. These versions of
CodeQL were discontinued on 24 September 2024 alongside GitHub
Enterprise Server 3.10, and will be unsupported by CodeQL Action
versions 3.27.0 and later and versions 2.27.0 and later. <a
href="https://redirect.github.com/github/codeql-action/pull/2520">#2520</a></p>
<ul>
<li>
<p>If you are using one of these versions, please update to CodeQL CLI
version 2.14.6 or later. For instance, if you have specified a custom
version of the CLI using the 'tools' input to the 'init' Action, you can
remove this input to use the default version.</p>
</li>
<li>
<p>Alternatively, if you want to continue using a version of the CodeQL
CLI between 2.13.5 and 2.14.5, you can replace
<code>github/codeql-action/*@V3</code> by
<code>github/codeql-action/*@v3.26.11</code> and
<code>github/codeql-action/*@v2</code> by
<code>github/codeql-action/*@v2.26.11</code> in your code scanning
workflow to ensure you continue using this version of the CodeQL
Action.</p>
</li>
</ul>
</li>
</ul>
<h2>3.26.11 - 03 Oct 2024</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/github/codeql-action/commit/f09c1c0a94de965c15400f5634aa42fac8fb8f88"><code>f09c1c0</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2616">#2616</a>
from github/update-v3.27.5-a6c8729a5</li>
<li><a
href="https://github.com/github/codeql-action/commit/67b73eaba559c7e6913377065b0362ccbfc94e87"><code>67b73ea</code></a>
Update changelog for v3.27.5</li>
<li><a
href="https://github.com/github/codeql-action/commit/a6c8729a5d7573eb8d440e52a9645ce4db61d97c"><code>a6c8729</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2614">#2614</a>
from github/marcogario/per-platform-proxy</li>
<li><a
href="https://github.com/github/codeql-action/commit/8f3b48727ff1b076c28967a258b95fcee30a3a48"><code>8f3b487</code></a>
Start-proxy: Fetch OS specific binary</li>
<li><a
href="https://github.com/github/codeql-action/commit/cba5fb58d4f85affaf03eb9da32f5b6c9d76838b"><code>cba5fb5</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2613">#2613</a>
from github/dependabot/npm_and_yarn/npm_and_yarn-018...</li>
<li><a
href="https://github.com/github/codeql-action/commit/e782c3a145d9946aba8fa390e406acbe4e4c05c5"><code>e782c3a</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2612">#2612</a>
from github/angelapwen/report-linux-runner-release</li>
<li><a
href="https://github.com/github/codeql-action/commit/db6788195b646f87b3d1c616b0c14a6d5b7fa9a6"><code>db67881</code></a>
Update checked-in dependencies</li>
<li><a
href="https://github.com/github/codeql-action/commit/ecde4d232d18cf2dba6c1a6b76810332abff736f"><code>ecde4d2</code></a>
Bump cross-spawn from 7.0.3 to 7.0.6 in the npm_and_yarn group</li>
<li><a
href="https://github.com/github/codeql-action/commit/e3c67a01d31d9c173ba5ffccc9d0f275540d99de"><code>e3c67a0</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/2610">#2610</a>
from github/dependabot/npm_and_yarn/npm-d2ca52e617</li>
<li><a
href="https://github.com/github/codeql-action/commit/f9ada54538b47b6db28c4d11f53848689968909e"><code>f9ada54</code></a>
Telemetry: report OS release for GitHub-hosted Linux runners</li>
<li>Additional commits viewable in <a
href="https://github.com/github/codeql-action/compare/ea9e4e37992a54ee68a9622e985e60c8e8f12d9f...f09c1c0a94de965c15400f5634aa42fac8fb8f88">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@Stevenic
Copy link
Contributor Author

Stevenic commented Dec 4, 2024

I didn't modify the sample but I will

@singhk97
Copy link
Collaborator

singhk97 commented Dec 5, 2024

@Stevenic Could you point this to dotnet-dev instead. That's the dev branch to avoid have samples in main that aren't compatible with the deployed library bits.

aacebo and others added 3 commits December 5, 2024 11:30
…osoft#2182)

## Linked issues

closes: microsoft#2167 

## Details

update types/handlers for new custom feedback loop and citations changes
for ignite.
@Stevenic Stevenic marked this pull request as ready for review December 9, 2024 00:51
@@ -1,4 +1,5 @@
using Microsoft.Bot.Builder;
using Google.Protobuf.WellKnownTypes;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this being used? if not can you remove it

@Stevenic Stevenic changed the base branch from main to dotnet-dev December 9, 2024 17:04
@Stevenic Stevenic requested a review from a team as a code owner December 9, 2024 17:04
@singhk97 singhk97 merged commit 2ba12e3 into microsoft:dotnet-dev Dec 9, 2024
7 checks passed
singhk97 added a commit that referenced this pull request Dec 11, 2024
## Linked issues

closes: #minor

## Details
- #2210
- #2214
- #2227

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Lily Du <[email protected]>
Co-authored-by: lilydu <[email protected]>
Co-authored-by: Tarek Mahmoud Sayed <[email protected]>
Co-authored-by: Steven Ickman <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Corina <[email protected]>
Co-authored-by: Yiqing Zhao <[email protected]>
Co-authored-by: Yiqing Zhao <[email protected]>
Co-authored-by: Alex Acebo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[JS/PY/C#] Tools, Sequence + Monologue Augmentation with Streaming
6 participants