fix: Azure OpenAI o1 max_completion_token and get_num_token_from_messages error (#9326)

Co-authored-by: wwwc <wwwc@outlook.com>
This commit is contained in:
Warren Wong
2024-10-15 16:26:44 +08:00
committed by GitHub
parent fb32e5ca9a
commit b597a0d31c
9 changed files with 638 additions and 381 deletions

View File

@@ -12,17 +12,15 @@ setup(
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/langgenius/dify",
license='MIT',
packages=['dify_client'],
license="MIT",
packages=["dify_client"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
install_requires=[
"requests"
],
keywords='dify nlp ai language-processing',
install_requires=["requests"],
keywords="dify nlp ai language-processing",
include_package_data=True,
)