Closed sarath59 closed 2 weeks ago
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
237 also exists for ollama support
I thought I could give it a try. Let me know how can I proceed. Thanks.
237 also exists for ollama support
I thought I could give it a try. Let me know how can I proceed. Thanks.
Thanks @sarath59 for helping. Perhaps we can combine the changes in this PR with #237? Namely, you've provided the unit tests for this, whereas that branch has not.
237 also exists for ollama support
I thought I could give it a try. Let me know how can I proceed. Thanks.
Thanks @sarath59 for helping. Perhaps we can combine the changes in this PR with #237? Namely, you've provided the unit tests for this, whereas that branch has not.
Sure @areibman , I am good with that if that helps. Let me know if I could help with anything else. Thanks.
closed in favor of #237
Add Ollama API Integration with AgentOps
Overview
This pull request integrates the Ollama API with AgentOps, enabling tracking of both synchronous and asynchronous interactions. The following changes were made:
Changes Made
llm_tracker.py:
client.py:
LlmTracker
.override_api
method inLlmTracker
is called during client initialization.Test Script
Created a test script to verify the integration. The script performs synchronous and asynchronous calls to the Ollama API and logs the interactions.
Test Script: