Skip to content

Temporarily rename FineTuningClient for codegen#15

Merged
joseharriaga merged 1 commit into
mainfrom
joseharriaga/Rename-FineTuningClient
Mar 13, 2024
Merged

Temporarily rename FineTuningClient for codegen#15
joseharriaga merged 1 commit into
mainfrom
joseharriaga/Rename-FineTuningClient

Conversation

@joseharriaga
Copy link
Copy Markdown
Owner

Due to our codegen workarounds, we cannot have a method with the following signature in the custom public OpenAIClient class:

public FineTuningClient GetFineTuningClient()

This is because we need codegen to generate a different method that happens to have this same signature in the generated internal OpenAIClient class. Because making the generated OpenAIClient class internal is part of post-codegen processing, codegen has no way to know that these two are not the same class, so it skips generating the method thinking it has been customized instead.

For now, we rename the FineTuningClient to FineTuningManagementClient to avoid this conflict. We will be able to fix it once we have codegen customizations available.

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.

1 participant