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

Feature serviceregistry #993

Merged
merged 37 commits into from
May 22, 2023
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
01279de
AI Service Provider
May 8, 2023
0897181
bug and UT fixes
May 8, 2023
e9162a9
Improvements/fixes for service registry (#857)
SergeyMenshykh May 8, 2023
e5d7bd7
Merge main
May 8, 2023
c8a9a70
Improvements + fixes (#880)
SergeyMenshykh May 9, 2023
1a28455
A few examples of using SK SDK in DI/IoC container (#964)
SergeyMenshykh May 13, 2023
f0f76b9
Merge
SergeyMenshykh May 15, 2023
0b3bd35
Merge branch 'main' into feature-serviceregistry
lemillermicrosoft May 15, 2023
6425311
Merge branch 'main' into feature-serviceregistry
SergeyMenshykh May 15, 2023
ea7db57
Copilot chat changes are rolled back.
SergeyMenshykh May 15, 2023
194b926
Merge branch 'main' into feature-serviceregistry
SergeyMenshykh May 15, 2023
ad8c89f
Rolling back the change if change helps to fix failing test
SergeyMenshykh May 15, 2023
ab03c6b
Code doing unnecessary attempts to resolve the AI service during the …
SergeyMenshykh May 15, 2023
e1c7c6c
Merge with latetest bits from main branch
SergeyMenshykh May 15, 2023
b37388c
Addressing comments
SergeyMenshykh May 16, 2023
57da25c
Merge with latest bits from main
SergeyMenshykh May 19, 2023
f5fe11c
Merge branch 'main' into feature-serviceregistry
SergeyMenshykh May 19, 2023
e4a5bf2
rollback accidently committed file
SergeyMenshykh May 19, 2023
41e89ec
remove unnessesary changes
SergeyMenshykh May 19, 2023
16d555a
Merge branch 'main' into feature-serviceregistry
SergeyMenshykh May 19, 2023
77adc28
Merge branch 'main' into feature-serviceregistry
shawncal May 19, 2023
fe652bd
Merge with latest bits from main
SergeyMenshykh May 19, 2023
fc62128
Merge branch 'feature-serviceregistry' of https://github.com/microsof…
SergeyMenshykh May 19, 2023
2b06204
Merge branch 'main' into feature-serviceregistry
lemillermicrosoft May 19, 2023
e755af8
Merge branch 'main' into feature-serviceregistry
lemillermicrosoft May 19, 2023
cca83e2
Merge branch 'main' into feature-serviceregistry
shawncal May 19, 2023
9e9a6a1
fixing tests
May 19, 2023
a48a8fc
Merge remote-tracking branch 'origin/main' into feature-serviceregistry
May 19, 2023
fbc7821
integration test fixes
May 19, 2023
ef2fb0a
Merge remote-tracking branch 'origin/main' into feature-serviceregistry
May 19, 2023
20a9557
Merge remote-tracking branch 'origin/main' into feature-serviceregistry
May 20, 2023
b198356
Merge branch 'main' into feature-serviceregistry
shawncal May 20, 2023
a94bce7
Merge branch 'feature-serviceregistry' of https://github.com/microsof…
May 20, 2023
0f3dad6
format
May 20, 2023
2aed64d
Marking the old functionality for registering connectors as obsolete.
SergeyMenshykh May 22, 2023
01552c9
Merge branch 'main' into feature-serviceregistry
SergeyMenshykh May 22, 2023
9aab3a0
Merge remote-tracking branch 'origin/main' into feature-serviceregistry
May 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
integration test fixes
  • Loading branch information
name committed May 19, 2023
commit fbc7821208a2085b29dee4fc23a04285f55d9069
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,15 @@ public async Task AzureOpenAITestAsync(bool useChatModel, string prompt, string
public async Task OpenAIHttpRetryPolicyTestAsync(string prompt, string expectedOutput)
{
// Arrange
var retryConfig = new HttpRetryConfig();
retryConfig.RetryableStatusCodes.Add(HttpStatusCode.Unauthorized);

OpenAIConfiguration? openAIConfiguration = this._configuration.GetSection("OpenAI").Get<OpenAIConfiguration>();
Assert.NotNull(openAIConfiguration);

IKernel target = Kernel.Builder
.WithLogger(this._testOutputHelper)
.Configure(c => c.SetDefaultHttpRetryConfig(retryConfig))
.WithOpenAITextCompletionService(
serviceId: openAIConfiguration.ServiceId,
modelId: openAIConfiguration.ModelId,
Expand Down