Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a link typo /-/route -> /-/routes. and change endpoint format #6186

Merged
merged 4 commits into from
Jun 20, 2023

Conversation

kylehh
Copy link
Contributor

@kylehh kylehh commented Jun 14, 2023

Fixes a link typo from /-/route to /-/routes.
and change endpoint format
from f"{self.anyscale_service_url}/{self.anyscale_service_route}" to f"{self.anyscale_service_url}{self.anyscale_service_route}"
Also adding documentation about the format of the endpoint

Before submitting

Who can review?

Tag maintainers/contributors who might be interested:

…lf.anyscale_service_url}/{self.anyscale_service_route} to {self.anyscale_service_url}{self.anyscale_service_route}
@@ -102,7 +102,7 @@ def _call(
"""

anyscale_service_endpoint = (
f"{self.anyscale_service_url}/{self.anyscale_service_route}"
f"{self.anyscale_service_url}{self.anyscale_service_route}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

What happens if the user provides a URL with no trailing slash?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. Even though the provided anyscale_service_url and anyscale_service_service format should have correct format, I'm adding some validation code to ensure it

@vercel
Copy link

vercel bot commented Jun 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ❌ Failed (Inspect) Jun 16, 2023 5:46pm

@vercel vercel bot temporarily deployed to Preview June 15, 2023 23:57 Inactive
@vercel vercel bot temporarily deployed to Preview June 16, 2023 17:46 Inactive
@vercel
Copy link

vercel bot commented Jun 18, 2023

@hwchase17 is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

@hwchase17 hwchase17 added the lgtm PR looks good. Use to confirm that a PR is ready for merging. label Jun 18, 2023
Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

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

lgtm - thanks!

@hwchase17 hwchase17 merged commit 3a58c4c into langchain-ai:master Jun 20, 2023
tconkling added a commit to tconkling/langchain that referenced this pull request Jun 20, 2023
* master: (101 commits)
  add FunctionMessage support to `_convert_dict_to_message()` in OpenAI chat model (langchain-ai#6382)
  bump version to 206 (langchain-ai#6465)
  fix neo4j schema query (langchain-ai#6381)
  Update serpapi.py Support baidu list type answer_box (langchain-ai#6386)
  fix: llm caching for replicate (langchain-ai#6396)
  feat: use latest duckduckgo_search API to call (langchain-ai#6409)
  Harrison/unstructured page number (langchain-ai#6464)
  Improve error message (langchain-ai#6275)
  Fix the issue where ANTHROPIC_API_URL set in environment is not takin… (langchain-ai#6400)
  Fix broken links in autonomous agents docs (langchain-ai#6398)
  Update SinglStoreDB vectorstore (langchain-ai#6423)
  Fix for langchain-ai#6431 - chatprompt template with partial variables giing validation error (langchain-ai#6456)
  Harrison/functions in retrieval (langchain-ai#6463)
  Incorrect argument count handling (langchain-ai#5543)
  Fixed a link typo /-/route -> /-/routes. and change endpoint format (langchain-ai#6186)
  docs `retrievers` fixes (langchain-ai#6299)
  Update introduction.mdx (langchain-ai#6425)
  Fix Custom LLM Agent example (langchain-ai#6429)
  Remove backticks without clear purpose from docs (langchain-ai#6442)
  Update web_base.ipynb (langchain-ai#6430)
  ...
This was referenced Jun 25, 2023
@kylehh kylehh deleted the anyscale_routes branch September 6, 2023 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm PR looks good. Use to confirm that a PR is ready for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants