Skip to content

Commit f2b4698

Browse files
harikrishna553Harikrishna
andauthored
langchain[patch]: update AgentType docstring with correct documentation URL (#31333)
### What does this PR do? Updates the docstring for `AgentType` in the `langchain.agents.agent_types` module to reflect the current URL for the documentation. ### Why is this needed? The existing URL (https://python.langchain.com/docs/modules/agents/agent_types/) returns "Page Moved" message. This fix improves developer experience by pointing to the correct API reference documentation. ### Reference New link: https://python.langchain.com/api_reference/langchain/agents/langchain.agents.agent_types.AgentType.html Co-authored-by: Harikrishna <[email protected]>
1 parent e2b54a5 commit f2b4698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/langchain/langchain/agents/agent_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
class AgentType(str, Enum):
1616
"""An enum for agent types.
1717
18-
See documentation: https://python.langchain.com/docs/modules/agents/agent_types/
18+
See documentation: https://python.langchain.com/api_reference/langchain/agents/langchain.agents.agent_types.AgentType.html
1919
"""
2020

2121
ZERO_SHOT_REACT_DESCRIPTION = "zero-shot-react-description"

0 commit comments

Comments
 (0)