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

BadRequestError: 400 - "'Note Taker' does not match '^[a-zA-Z0-9_-]{1,64}$' - 'messages.2.name'" #272

Closed
2 of 4 tasks
kiranramanna opened this issue Apr 3, 2024 · 2 comments

Comments

@kiranramanna
Copy link

kiranramanna commented Apr 3, 2024

Checked other resources

  • I added a very descriptive title to this issue.
  • I searched the LangChain documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain rather than my code.

Example Code

issue is in this cell : https://github.com/langchain-ai/langgraph/blame/e30d5f13bf6714fbfd67098f962af22f5f4a7b73/examples/multi_agent/hierarchical_agent_teams.ipynb#L662
I tried referring documentation : https://python.langchain.com/docs/langgraph#define-the-nodes

Error Message and Stack Trace (if applicable)

BadRequestError: Error code: 400 - {'error': {'message': "'Note Taker' does not match '^[a-zA-Z0-9_-]{1,64}$' - 'messages.2.name'", 'type': 'invalid_request_error', 'param': None, 'code': None}}

Description

I am trying to run this notebook.

System Info

System Information

OS: Darwin
OS Version: Darwin Kernel Version 23.4.0: Wed Feb 21 21:44:43 PST 2024; root:xnu-10063.101.15~2/RELEASE_ARM64_T6000
Python Version: 3.11.8 (main, Feb 26 2024, 15:36:12) [Clang 14.0.6 ]

Package Information

langchain_core: 0.1.39
langchain: 0.1.14
langchain_community: 0.0.31
langsmith: 0.1.38
langchain_experimental: 0.0.56
langchain_openai: 0.1.1
langchain_text_splitters: 0.0.1
langgraph: 0.0.31

Packages not installed (Not Necessarily a Problem)

The following packages were not found:

langserve

@dhanashri3107
Copy link

Removing the space in Note Taker should work. For ex: Note_Taker

@hinthornw
Copy link
Contributor

This is now fixed

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

No branches or pull requests

3 participants