-
Notifications
You must be signed in to change notification settings - Fork 1
fix: set org header for AI Fix #106
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
Conversation
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) ✅ code/snyk check is complete. No issues have been found. (View Details) |
@@ -63,15 +63,15 @@ type DeepCodeLLMBindingImpl struct { | |||
instrumentor observability.Instrumentor | |||
} | |||
|
|||
func (d *DeepCodeLLMBindingImpl) SubmitAutofixFeedback(ctx context.Context, requestId string, options AutofixFeedbackOptions) error { | |||
func (d *DeepCodeLLMBindingImpl) SubmitAutofixFeedback(ctx context.Context, fixId string, options AutofixFeedbackOptions) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this wasn't the requestID
LS is sending the fixId here
We will need to refactor this after the planned hotfix.
llm/api_client.go
Outdated
@@ -43,7 +43,7 @@ func (d *DeepCodeLLMBindingImpl) runExplain(ctx context.Context, options Explain | |||
} | |||
} | |||
|
|||
responseBody, err := d.submitRequest(ctx, u, requestBody) | |||
responseBody, err := d.submitRequest(ctx, u, requestBody, "", "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requestId and orgId weren't being set before for explain. I will leave it as is for now.
Description
Provide description of this PR and changes, if linked Jira ticket doesn't cover it in full.
Checklist
🚨After having merged, please update the
snyk-ls
and CLI go.mod to pull in latest client.