We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Some models won't get a name when they are used as spread body.
Here is an example.
CreateChatCompletionRequest
model
CHAT_COMPLETION_MODELS
create
TCGC fails to give a name to CreateChatCompletionRequest:
Try to parse the definition in the link above.
The text was updated successfully, but these errors were encountered:
getAllOperation
the root cause is from findContextPath does not handle nested operation group:
findContextPath
typespec-azure/packages/typespec-client-generator-core/src/public-utils.ts
Line 334 in b38b4ca
Sorry, something went wrong.
[tcgc] findContextPath need to handle nested operation group, also …
315002c
…refine the logic for naming and composing cross language definition id (#1157) fix: #1150 cc: @ArcturusZhang @archerzz
tadelesh
Successfully merging a pull request may close this issue.
Describe the bug
Some models won't get a name when they are used as spread body.
Here is an example.
CreateChatCompletionRequest
is the model: https://github.com/Azure/autorest.csharp/blob/a37076386944d9230b94d60e13e6362089801cef/test/UnbrandedProjects/Platform-OpenAI-TypeSpec/completions/models.tsp#L144-L174model
which is a union of a string and an aliasCHAT_COMPLETION_MODELS
.CreateChatCompletionRequest
is used as a spread boy increate
operation: https://github.com/Azure/autorest.csharp/blob/a37076386944d9230b94d60e13e6362089801cef/test/UnbrandedProjects/Platform-OpenAI-TypeSpec/completions/operations.tsp#L20-L22TCGC fails to give a name to
CreateChatCompletionRequest
:Reproduction
Try to parse the definition in the link above.
Checklist
The text was updated successfully, but these errors were encountered: