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

Update SK packages #120

Merged
merged 7 commits into from
Aug 8, 2023
Merged

Update SK packages #120

merged 7 commits into from
Aug 8, 2023

Conversation

crickman
Copy link
Contributor

@crickman crickman commented Aug 7, 2023

Motivation and Context

Weekly OSS merge current semantic-kernel packages: 0.19.230804.2

Description

SK Deprectations:

  • SKContext.Fail() => throw
  • SKContext.Log => SKContext.Logger
  • SKContext.LastErrorDescription => SKContext.LastException.Message
  • SKContext.this[] => SKContext.Variables[]
  • SKContext.ModelResults breaking type change (ChatCompletions=> ChatModelResult)

Also:

  • Replaced "" with string.Empty

Contribution Checklist

@github-actions github-actions bot added webapi Pull requests that update .net code PR: ready for review labels Aug 7, 2023
@crickman crickman marked this pull request as ready for review August 7, 2023 21:53
@crickman crickman requested a review from glahaye August 8, 2023 00:44
teresaqhoang
teresaqhoang previously approved these changes Aug 8, 2023
webapi/CopilotChat/Controllers/ChatController.cs Outdated Show resolved Hide resolved
webapi/CopilotChatWebApi.sln Outdated Show resolved Hide resolved
webapi/CopilotChat/Skills/TokenUtilities.cs Outdated Show resolved Hide resolved
TaoChenOSU
TaoChenOSU previously approved these changes Aug 8, 2023
alliscode
alliscode previously approved these changes Aug 8, 2023
@crickman crickman added this pull request to the merge queue Aug 8, 2023
Merged via the queue into main with commit 6ba2b6a Aug 8, 2023
10 checks passed
@crickman crickman deleted the feature-upgradesk branch August 8, 2023 17:31
teamleader-dev pushed a commit to vlink-group/chat-copilot that referenced this pull request Oct 7, 2024
### Motivation and Context

Weekly OSS merge current semantic-kernel packages: 0.19.230804.2

### Description

SK Deprectations: 
- `SKContext.Fail()` => `throw`
- `SKContext.Log` => `SKContext.Logger`
- `SKContext.LastErrorDescription` => `SKContext.LastException.Message`
- `SKContext.this[]` => `SKContext.Variables[]`
- `SKContext.ModelResults` breaking type change (`ChatCompletions`=>
`ChatModelResult`)

Also:
- Replaced "" with string.Empty

### Contribution Checklist

- [x] The code builds clean without any errors or warnings
- [x] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/copilot-chat/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x] All unit tests pass, and I have added new tests where possible
- [x] I didn't break anyone 😄
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
webapi Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants