LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmith_openapi_clientresourcesReposDirectoriescommit
Method●Since v0.8

commit

Creates a new directory commit for an agent or skill repository by applying file/link create, update, and delete operations.

Copy
commit(
  repo: string,
  params: DirectoryCommitParams,
  options: RequestOptions
): APIPromise<DirectoryCommitResponse>

Parameters

NameTypeDescription
repo*string
params*DirectoryCommitParams
optionsRequestOptions
View source on GitHub