Open XiaofeiCao opened 1 week ago
Seems we can treat it just the same way as a read-only property (duplicate it in subclass?).
Or do we need to generate the @Override public String getRole()
in subclass? If we don't generate it, seems the problem gone?
Describe the bug
unbranded generated code: https://github.com/joseharriaga/openai-in-typespec/commit/25c0126d909b43c8ce6971d905f7551e6e8110ff
tsp source: https://github.com/joseharriaga/openai-in-typespec/blob/main/.typespec/fine-tuning/models.tsp#L310-L311 base model: https://github.com/joseharriaga/openai-in-typespec/blob/main/.typespec/chat/models.tsp#L448
Current thought:
Reproduction
see above
Checklist