Refactor buildStandardResponse for Consistency in Code Style
- Removed unnecessary semicolon in the buildStandardResponse method, aligning with Go's idiomatic style. - Improved code readability by ensuring consistent formatting in the handling of the NextResponse variable.
This commit is contained in:
parent
b61f0130e6
commit
5f67ab2eef
1 changed files with 2 additions and 2 deletions
|
|
@ -66,8 +66,8 @@ func (ast *Assistant) handleDelegation(
|
|||
// buildStandardResponse builds the standard agent response when no custom Next hook processing is needed
|
||||
func (ast *Assistant) buildStandardResponse(npc *NextProcessContext) *agentContext.Response {
|
||||
|
||||
var next interface{} = nil;
|
||||
if npc.NextResponse != nil {
|
||||
var next interface{} = nil
|
||||
if npc.NextResponse != nil {
|
||||
next = npc.NextResponse
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue