[PR #21] made _resolve_llm method more readable #53

Open
opened 2026-02-16 00:15:21 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/rags/pull/21
Author: @MoeAD99
Created: 11/24/2023
Status: 🔄 Open

Base: mainHead: refactored-agent_utils


📝 Commits (1)

  • 908a7db made _resolve_llm method more readable

📊 Changes

1 file changed (+16 additions, -15 deletions)

View changed files

📝 agent_utils.py (+16 -15)

📄 Description

Refactored _resolve_llm function to make use of match-case statements instead of if-else.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/rags/pull/21 **Author:** [@MoeAD99](https://github.com/MoeAD99) **Created:** 11/24/2023 **Status:** 🔄 Open **Base:** `main` ← **Head:** `refactored-agent_utils` --- ### 📝 Commits (1) - [`908a7db`](https://github.com/run-llama/rags/commit/908a7db5323b0fbeac68ee30951a46420e258402) made _resolve_llm method more readable ### 📊 Changes **1 file changed** (+16 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `agent_utils.py` (+16 -15) </details> ### 📄 Description Refactored __resolve_llm_ function to make use of match-case statements instead of if-else. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 00:15:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/rags#53