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

Upgrade to ts http runtime #2083

Merged
merged 47 commits into from
Nov 8, 2023
Merged

Conversation

MaryGao
Copy link
Contributor

@MaryGao MaryGao commented Oct 26, 2023

fixes #2081

  • Enable the emitter option branded and allow to generate the non-branded SDK
    • Enable smoke test for OpenAI
    • Enable integration testing for model useage for non-branded
  • Other small fixes
    • not generate credential info when addCredential is false
    • fix the description is undefined in package.json

@MaryGao MaryGao marked this pull request as ready for review November 6, 2023 13:43
@@ -11,6 +11,7 @@ import { Client, ModularCodeModel, Operation } from "./modularCodeModel.js";
import { isRLCMultiEndpoint } from "../utils/clientUtils.js";
import { getDocsFromDescription } from "./helpers/docsHelpers.js";
import { SdkContext } from "../utils/interfaces.js";
import { getImportSpecifier } from "@azure-tools/rlc-common";
Copy link
Member

Choose a reason for hiding this comment

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

It strikes me as odd to see an rlc-common import in the modular codegen layer. Probably okay but wanted to bring this up in case there is an alternative

Copy link
Contributor Author

@MaryGao MaryGao Nov 8, 2023

Choose a reason for hiding this comment

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

Currently the rlc-common utils are widely used in modular lib e.g naming utils or rlc operation utils.

Copy link
Member

@joheredi joheredi left a comment

Choose a reason for hiding this comment

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

Looks great! Left a couple of comments, non blocking but would be great if we can address them before merging

@MaryGao MaryGao merged commit 67eb004 into Azure:main Nov 8, 2023
28 checks passed
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.

[DPG] Update codegen to adopt @typespec/ts-http-runtime for unbranded generation
3 participants