Skip to content

Conversation

eyurtsev
Copy link
Collaborator

@eyurtsev eyurtsev commented Oct 8, 2025

Overview

Type of change

Type: [Replace with: New documentation page / Update existing documentation / Fix typo/bug/link/formatting / Remove outdated content / Other]

Related issues/PRs

  • GitHub issue:
  • Feature PR:
  • Linear issue:
  • Slack thread:

Checklist

  • I have read the contributing guidelines
  • I have tested my changes locally using docs dev
  • All code examples have been tested and work correctly
  • I have used root relative paths for internal links
  • I have updated navigation in src/docs.json if needed
  • I have gotten approval from the relevant reviewers
  • (Internal team members only / optional) I have created a preview deployment using the Create Preview Branch workflow

Additional notes

@github-actions github-actions bot added langchain For docs changes to LangChain python For content related to the Python version of LangChain projects oss labels Oct 8, 2025
@eyurtsev eyurtsev marked this pull request as ready for review October 8, 2025 15:18
@Copilot Copilot AI review requested due to automatic review settings October 8, 2025 15:18
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the documentation to reflect recent API changes in the create_agent function, specifically changing the parameter name from prompt to system_prompt. The changes ensure all documentation examples use the correct parameter name for consistency with the updated API.

  • Updated parameter name from prompt to system_prompt in create_agent function calls
  • Renamed agent variable from agent_executor to agent for consistency
  • Applied changes across multiple documentation files covering different tool integrations and agent usage patterns

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/oss/python/integrations/tools/sql_database.mdx Updated create_agent calls to use system_prompt parameter and renamed agent_executor to agent
src/oss/python/integrations/tools/requests.mdx Updated create_agent call to use system_prompt parameter and renamed agent_executor to agent
src/oss/langchain/rag.mdx Updated multiple create_agent calls to use system_prompt parameter
src/oss/langchain/agents.mdx Updated create_agent call to use system_prompt parameter

Copy link

github-actions bot commented Oct 8, 2025

Preview ID generated: preview-eugene-1759936712-31869d7

@eyurtsev eyurtsev merged commit 94bfec9 into main Oct 8, 2025
12 checks passed
@eyurtsev eyurtsev deleted the eugene/another_quickstart_fix branch October 8, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
langchain For docs changes to LangChain oss python For content related to the Python version of LangChain projects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants