-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* `litellm` compatibility fix (now requires litellm>=1.41.0) * `instructor` compatibility fix * some minor changes
- Loading branch information
Showing
10 changed files
with
158 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "pdm.backend" | |
|
||
[project] | ||
name = "applang" | ||
version = "0.0.1" | ||
version = "0.0.2" | ||
description = "A Prompt Programming Language" | ||
authors = [ | ||
{ name = "Honghua Dong", email = "[email protected]" }, | ||
|
@@ -23,7 +23,7 @@ dependencies = [ | |
"PyYAML>=6.0.1", | ||
"toml>=0.10.2", | ||
"termcolor>=2.4.0", | ||
"litellm>=1.29.5", | ||
"litellm>=1.41.0", | ||
"rich>=13.7.1", | ||
"tiktoken>=0.6.0", | ||
"langsmith>=0.1.25", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
"""Import types from dependencies""" | ||
|
||
from litellm.types.utils import Delta, Function, ModelResponse | ||
from openai.types import CompletionUsage | ||
from openai.types.chat import ( | ||
ChatCompletion, | ||
ChatCompletionChunk, | ||
ChatCompletionMessageToolCall, | ||
) | ||
from openai.types.chat.chat_completion import Choice | ||
from openai.types.chat.chat_completion_chunk import ( | ||
ChoiceDelta, | ||
ChoiceDeltaToolCallFunction, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters