Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
58ca38e
remove exception handling in ollama test
dot-agi Jan 15, 2025
846f378
make assistants test work
dot-agi Jan 15, 2025
9f72715
remove redundant comments
dot-agi Jan 16, 2025
88d59f5
add auotgen integration tests
dot-agi Jan 16, 2025
b5165d1
change vcr config to not check body
dot-agi Jan 16, 2025
649500e
consolidate autogen integration tests into a single test
dot-agi Jan 16, 2025
f98497f
update vcr config to handle dynamic body content in autogen integrati…
dot-agi Jan 16, 2025
1b09285
re-record autogen cassette after new vcr config
dot-agi Jan 16, 2025
fefb160
Merge branch 'main' into fix/partners-integration-tests
dot-agi Jan 16, 2025
53129be
Add code to redact jwt in response body
dot-agi Jan 16, 2025
f1e2932
re-record autogen cassette
dot-agi Jan 16, 2025
4c81469
update vcr config to handle body response more robustly
dot-agi Jan 16, 2025
b7f761e
re-record autogen cassette (again)
dot-agi Jan 16, 2025
403059d
Merge branch 'main' into fix/partners-integration-tests
dot-agi Jan 19, 2025
dd5ed08
add taskweaver in provider integration tests and fix litellm integrat…
dot-agi Jan 19, 2025
b5fc7cc
add taskweaver fixture to conftest
dot-agi Jan 19, 2025
86d5c6e
fix `ai21` version
dot-agi Jan 19, 2025
ef3a4d3
ignore host huggingface.co
dot-agi Jan 19, 2025
42d9087
add gemini provider integration test
dot-agi Jan 19, 2025
7e8aecd
modify model in groq provider integration test
dot-agi Jan 19, 2025
1c5f06a
re-record groq cassette
dot-agi Jan 19, 2025
8fad06d
ruff
dot-agi Jan 21, 2025
6c7a261
remove python files from examples
dot-agi Jan 21, 2025
9e1b165
remove use of agentops fixture
dot-agi Jan 21, 2025
e520cc3
re-record autogen cassette
dot-agi Jan 21, 2025
d22028e
ruff
dot-agi Jan 21, 2025
54b2e1f
skip gemini tests
dot-agi Jan 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions agentops/host_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ def get_ram_details():
try:
ram_info = psutil.virtual_memory()
return {
"Total": f"{ram_info.total / (1024 ** 3):.2f} GB",
"Available": f"{ram_info.available / (1024 ** 3):.2f} GB",
"Used": f"{ram_info.used / (1024 ** 3):.2f} GB",
"Total": f"{ram_info.total / (1024**3):.2f} GB",
"Available": f"{ram_info.available / (1024**3):.2f} GB",
"Used": f"{ram_info.used / (1024**3):.2f} GB",
"Percentage": f"{ram_info.percent}%",
}
except:
Expand Down
4 changes: 2 additions & 2 deletions agentops/llms/providers/ollama.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

if chunk.get("done"):
llm_event.end_timestamp = get_ISO_time()
llm_event.model = f'ollama/{chunk.get("model")}'
llm_event.model = f"ollama/{chunk.get('model')}"

Check warning on line 29 in agentops/llms/providers/ollama.py

View check run for this annotation

Codecov / codecov/patch

agentops/llms/providers/ollama.py#L29

Added line #L29 was not covered by tests
llm_event.returns = chunk
llm_event.returns["message"] = llm_event.completion
llm_event.prompt = kwargs["messages"]
Expand All @@ -53,7 +53,7 @@
return generator()

llm_event.end_timestamp = get_ISO_time()
llm_event.model = f'ollama/{response["model"]}'
llm_event.model = f"ollama/{response['model']}"

Check warning on line 56 in agentops/llms/providers/ollama.py

View check run for this annotation

Codecov / codecov/patch

agentops/llms/providers/ollama.py#L56

Added line #L56 was not covered by tests
llm_event.returns = response
llm_event.agent_id = check_call_stack_for_agent_id()
llm_event.prompt = kwargs["messages"]
Expand Down
167 changes: 0 additions & 167 deletions examples/anthropic_examples/anthropic-example-sync.py

This file was deleted.

107 changes: 0 additions & 107 deletions examples/openai_examples/openai_example_sync.py

This file was deleted.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test = [
"anthropic",
"cohere",
"litellm",
"ai21>=3.0.0",
"ai21>=2.0.0, <3.0.0",
"groq",
"ollama",
"mistralai",
Expand All @@ -58,6 +58,7 @@ test = [
# "crewai-tools @ git+https://github.com/crewAIInc/crewAI-tools.git@a14091abb24527c97ccfcc8539d529c8b4559a0f; python_version>='3.10'",
# ------------------------------------------------------------------------------------------------------------------------------------
# ;;
"taskweaver @ git+https://github.com/microsoft/[email protected]; python_version>='3.10'",
"autogen<0.4.0",
"pytest-cov",
"fastapi[standard]",
Expand Down
Loading
Loading