CodeTaskRequestBase
Base Classes · AiDotNet.ProgramSynthesis.Requests
Base type for all code task execution requests.
Known derived types: CodeBugDetectionRequest, CodeBugFixingRequest, CodeCloneDetectionRequest, CodeCompletionRequest, CodeDocumentationRequest, CodeGenerationRequest, CodeRefactoringRequest, CodeReviewRequest, CodeSearchRequest, CodeSummarizationRequest, CodeTestGenerationRequest, CodeTranslationRequest, CodeUnderstandingRequest
For Beginners
This is the common “envelope” for any code task request.
Think of this as a form you submit to ask the system to do something with code. The specific task (like Search or CodeReview) determines which extra fields you need to fill in.
How It Works
This request model is used as the canonical input shape for all CodeTask operations.
Concrete request types (e.g., completion, search, code review) add task-specific fields.
Properties
| Property | Summary |
|---|---|
CodeTask Task { get; } |
Gets the requested task. |
ProgramLanguage Language { get; set; } |
Gets or sets the primary language context for the request. |
SqlDialect? SqlDialect { get; set; } |
Gets or sets the SQL dialect to use when Language is SQL. |
int? MaxWallClockMilliseconds { get; set; } |
Gets or sets an optional wall-clock time budget (in milliseconds) for the request. |
string RequestId { get; set; } |
Gets or sets an optional request identifier for correlation and tracing. |