Skip to content

chore: update URLs, defaults, and LangChain v1.x docs - #5

Merged
sommaht merged 4 commits into
mainfrom
chore/update-urls-and-defaults
Dec 2, 2025
Merged

chore: update URLs, defaults, and LangChain v1.x docs#5
sommaht merged 4 commits into
mainfrom
chore/update-urls-and-defaults

Conversation

@sommaht

@sommaht sommaht commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Update repository URLs from sapiom-javascript to sapiom-js across all packages
  • Change default baseURL from localhost:3000 to https://api.sapiom.ai
  • Update documentation links in all READMEs
  • Add @sapiom/langchain-classic package for LangChain v0.x legacy support
  • Update @sapiom/langchain README for v1.x middleware-based API

Test plan

  • Verify all GitHub URLs point to correct repository
  • Verify default baseURL is production-ready
  • Verify dual LangChain package documentation is accurate

🤖 Generated with Claude Code

sommaht and others added 3 commits December 2, 2025 12:17
- Update repository URLs from sapiom-javascript to sapiom-js across all packages
- Change default baseURL from localhost:3000 to https://api.sapiom.ai
- Update documentation links in all READMEs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add @sapiom/langchain-classic for LangChain v0.x legacy support
- Update @sapiom/langchain README for v1.x middleware-based API
- Update root README with dual LangChain package documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@sommaht sommaht changed the title chore: update GitHub URLs and default API baseURL chore: update URLs, defaults, and LangChain v1.x docs Dec 2, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we don't really need to add /v1 to each url, it's handled here: https://github.com/sapiom/sapiom-js/blob/main/packages/core/src/client/SapiomClient.ts#L198-L201

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

For sure, I'll revert this change

}

this.baseURL = config.baseURL || "http://localhost:3000";
this.baseURL = config.baseURL || "https://api.sapiom.ai";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🚀

The API base URL already includes versioning, so endpoint paths
should not include the /v1 prefix.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants