github latitude-dev/latitude-llm typescript-sdk-5.3.0
TypeScript SDK v5.3.0

latest release: typescript-sdk-5.3.1
9 hours ago

Added

  • Added mcpHeaders parameter to prompts.run() and prompts.chat() methods for passing custom headers to MCP servers at runtime. Headers are keyed by integration name to support multiple MCP integrations per prompt.

Example usage:

latitude.prompts.run('my-prompt', {
  parameters: { name: 'John' },
  mcpHeaders: {
    myMcpIntegration: { 'customer-id': 'abc123' },
    anotherMcp: { 'x-tenant-id': 'tenant-456' },
  },
})

Don't miss a new latitude-llm release

NewReleases is sending notifications on new releases.