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

feat: use new llm service #6002

Merged
merged 4 commits into from
Jan 10, 2025
Merged

feat: use new llm service #6002

merged 4 commits into from
Jan 10, 2025

Conversation

CristiCanizales
Copy link
Contributor

What does this PR do?

Modifies vscode apex extension to use new LLM endpoint exposed by service-provider

What issues does this PR fix or reference?

@W-17482303@

@CristiCanizales CristiCanizales self-assigned this Jan 10, 2025
@CristiCanizales CristiCanizales requested a review from a team as a code owner January 10, 2025 19:34
@@ -239,7 +237,7 @@ export class ApexActionController {
oasSpec: string
) => {
const baseName = path.basename(fullPath).split('.')[0];
const safeOasSpec = oasSpec.replaceAll('"', ''');
const safeOasSpec = oasSpec.replaceAll('"', ''').replaceAll('type: Id', 'type: string');
Copy link
Contributor

Choose a reason for hiding this comment

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

Our prompt should now automatically generate type: string instead of type: Id since I changed this in the default instructions. But it's still good to have this check here as an additional safeguard. 🙂

@CristiCanizales CristiCanizales merged commit e72c2e7 into feat/apex-oas Jan 10, 2025
6 checks passed
@CristiCanizales CristiCanizales deleted the cristi/new-llm branch January 10, 2025 23:02
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.

3 participants