-
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.
Import simplification & dev dependencies (#51)
- Loading branch information
1 parent
42b7d92
commit 17e0795
Showing
19 changed files
with
187 additions
and
79 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,69 @@ | ||
from aviary.env import ( | ||
TASK_DATASET_REGISTRY, | ||
DummyEnv, | ||
DummyEnvState, | ||
DummyTaskDataset, | ||
Environment, | ||
Frame, | ||
TaskConfig, | ||
TaskDataset, | ||
) | ||
from aviary.env_client import EnvironmentClient | ||
from aviary.message import MalformedMessageError, Message, join | ||
from aviary.render import Renderer | ||
from aviary.tools import ( | ||
INVALID_TOOL_NAME, | ||
FunctionInfo, | ||
Messages, | ||
MessagesAdapter, | ||
Parameters, | ||
Tool, | ||
ToolCall, | ||
ToolCallFunction, | ||
ToolRequestMessage, | ||
ToolResponseMessage, | ||
Tools, | ||
ToolsAdapter, | ||
ToolSelector, | ||
ToolSelectorLedger, | ||
argref_by_name, | ||
eval_answer, | ||
wraps_doc_only, | ||
) | ||
from aviary.utils import encode_image_to_base64, is_coroutine_callable, partial_format | ||
|
||
__all__ = [ | ||
"INVALID_TOOL_NAME", | ||
"TASK_DATASET_REGISTRY", | ||
"DummyEnv", | ||
"DummyEnvState", | ||
"DummyTaskDataset", | ||
"Environment", | ||
"EnvironmentClient", | ||
"Frame", | ||
"FunctionInfo", | ||
"MalformedMessageError", | ||
"Message", | ||
"Messages", | ||
"MessagesAdapter", | ||
"Parameters", | ||
"Renderer", | ||
"TaskConfig", | ||
"TaskDataset", | ||
"Tool", | ||
"ToolCall", | ||
"ToolCallFunction", | ||
"ToolRequestMessage", | ||
"ToolResponseMessage", | ||
"ToolSelector", | ||
"ToolSelectorLedger", | ||
"Tools", | ||
"ToolsAdapter", | ||
"argref_by_name", | ||
"encode_image_to_base64", | ||
"eval_answer", | ||
"is_coroutine_callable", | ||
"join", | ||
"partial_format", | ||
"wraps_doc_only", | ||
] |
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import pytest | ||
|
||
from aviary.tools import eval_answer | ||
from aviary.core import eval_answer | ||
|
||
|
||
@pytest.mark.vcr | ||
|
Oops, something went wrong.