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

Added Azure OpenAI Direct E2E Test (Scenario #17) #948

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

saimachi
Copy link
Collaborator

@saimachi saimachi commented May 8, 2024

Added Azure OpenAI Direct E2E Test (Scenario #17)

Details on the issue fix or feature implementation

This PR includes an end-to-end test for the AzureOpenAIDirect orchestrator. It creates a new agent and prompt and requests completion using both endpoints.

Confirm the following

  • I started this PR by branching from the head of the default branch
  • I have targeted the PR to merge into the default branch
  • I have included unit tests for the issue/feature
  • I have included inline docs for my changes, where applicable
  • I have successfully run a local build
  • I have provided the required update scripts, where applicable
  • I have updated relevant docs, where applicable

@saimachi saimachi requested a review from ciprianjichici as a code owner May 8, 2024 13:29
@saimachi saimachi marked this pull request as draft May 8, 2024 13:39
@@ -38,19 +37,6 @@ public async Task<AgentBase> CreateAgent(string agentName)
throw new InvalidOperationException($"The prompt for the agent {agentName} was not found.");
}

// Resolve App Config values for the endpoint configuration as necessary.
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you delete this? This is required to place static values in the orchestration settings of the agents.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

App Config resolution is not needed for AzureOpenAIDirect agents.

Copy link
Contributor

Choose a reason for hiding this comment

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

That doesn't matter. It doesn't try to resolve if the value does not start with FoundationaLLM:.

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.

2 participants