[PR #331] [CLOSED] Fixed llama3 rag prompt template to avoid infinite loop. #1392

Closed
opened 2026-02-20 17:44:37 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/331
Author: @AlwaysFocus
Created: 4/19/2024
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • 924ce96 Fixed llama3 rag prompt template to avoid infinite loop.

📊 Changes

1 file changed (+10 additions, -7 deletions)

View changed files

📝 examples/rag/langgraph_rag_agent_llama3_local.ipynb (+10 -7)

📄 Description

The previous PromptTemplate would result in an infinite loop of the model trying to decide what to do. Made minor changes to avoid it.


🔄 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/langchain-ai/langgraph/pull/331 **Author:** [@AlwaysFocus](https://github.com/AlwaysFocus) **Created:** 4/19/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`924ce96`](https://github.com/langchain-ai/langgraph/commit/924ce964731cfae3d2d0309e64cf4e1b62c2c528) Fixed llama3 rag prompt template to avoid infinite loop. ### 📊 Changes **1 file changed** (+10 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `examples/rag/langgraph_rag_agent_llama3_local.ipynb` (+10 -7) </details> ### 📄 Description The previous PromptTemplate would result in an infinite loop of the model trying to decide what to do. Made minor changes to avoid it. --- <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-20 17:44:37 -05:00
yindo closed this issue 2026-02-20 17:44:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#1392