Ma77Ball opened a new issue, #5990:
URL: https://github.com/apache/texera/issues/5990

   ### Task Summary
   In `agent.service.ts`, the `ApiAgentInfo -> AgentInfo` object mapping 
(including the `delegate` sub-mapping) was inlined identically in 
`createAgent`, `getAgent`, and `getAllAgents`, and the `steps.map(s => 
convertApiReActStep(s))` array conversion was inlined in three more places. 
This extracts two private helpers, `mapApiAgentInfo` and 
`convertApiReActSteps`, and routes the six call sites through them. Behavior is 
unchanged.
   ### Task Type
   - [x] Refactor


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to