-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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
community: fixed critical bugs at Writer provider #27879
community: fixed critical bugs at Writer provider #27879
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
0619599
to
03a994b
Compare
03a994b
to
23e35f8
Compare
bccd024
to
212c6d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
security issue on load_dotenv, and a comment on testing
Optional, | ||
Sequence, | ||
Tuple, | ||
Type, | ||
Union, | ||
) | ||
|
||
from dotenv import load_dotenv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's not use this in the integration - this should be for the end user to do only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for testing could you import the standard tests instead like https://github.com/langchain-ai/langchain/pull/27645/files#diff-c86d5e9b25ea852938eae1c62bad9708df0cd8c0a75147f3c4a100bdcf73fd28R22-R33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May you describe which benefits are provided by standard tests?
If it's possible to stay with custom tests?
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it'll catch errors related to the integration not actually implementing the abstraction correctly! e.g. your chat model is documented as supporting streaming, but there are no chat model tests for it
16bcb25
to
0ca66ad
Compare
bcfec3d
to
8897656
Compare
6040d33
to
9798c32
Compare
542519f
to
f2a16b9
Compare
f2a16b9
to
f01882b
Compare
@@ -17,29 +17,28 @@ | |||
"source": [ | |||
"# ChatWriter\n", | |||
"\n", | |||
"This notebook provides a quick overview for getting started with Writer [chat models](/docs/concepts/chat_models).\n", | |||
"This notebook provides a quick overview for getting started with Writer [chat models](/docs/concepts/#chat-models).\n", | |||
"\n", | |||
"Writer has several chat models. You can find information about their latest models and their costs, context windows, and supported input types in the [Writer docs](https://dev.writer.com/home/models).\n", | |||
"\n", | |||
":::" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
@pytest.mark.requires("writerai") | ||
class TestChatWriterStandart(ChatModelUnitTests): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: Standart
Library name was updated after #27879 branched off master.
… into LindormIntegration * 'LindormIntegration' of github.com:AlwaysBluer/langchain: (72 commits) langchain[patch]: update deprecation message for agent classes and constructors (langchain-ai#28369) Updated docs for the BM25 preprocessing function (langchain-ai#28101) Community: Marqo Index Setting GET Request Updated according to `2.x` API version while keep backward compatability for 1.5.x (langchain-ai#28342) langchain: Fix Neo4jVector vector store reference from partner package for self query (langchain-ai#28292) ollama[patch]: bump to 0.4.1 in lock file (langchain-ai#28365) ollama[patch]: support ollama 0.4 (langchain-ai#28364) openai[patch]: bump core dep (langchain-ai#28361) openai[patch]: Release 0.2.10 (langchain-ai#28360) openai[patch]: use max_completion_tokens in place of max_tokens (langchain-ai#26917) langchain[patch]: support numpy 2 (langchain-ai#28183) docs: update tutorials (langchain-ai#28219) docs[patch]: fix broken anchor link (langchain-ai#28358) docs(create_sql_agent): fix reStructured Text Markup (langchain-ai#28356) Community: Adding citations in AIMessage for ChatPerplexity (langchain-ai#28321) docs: update azure_openai_whisper_parser.ipynb (langchain-ai#28327) community[patch]: fix import in test (langchain-ai#28339) community[patch]: Neo4j community deprecation (langchain-ai#28130) community: fixed critical bugs at Writer provider (langchain-ai#27879) docs: fix GOOGLE_API_KEY typo (langchain-ai#28322) community[patch]: release 0.3.8 (langchain-ai#28316) ...
Library name was updated after langchain-ai#27879 branched off master.
No description provided.