-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
196 additions
and
118 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
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,37 @@ | ||
function initEntelligence() { | ||
const script = document.getElementById("entelligence-chat"); | ||
|
||
if (!script) { | ||
const chatScript = document.createElement("script"); | ||
chatScript.type = "module"; | ||
chatScript.id = "entelligence-chat"; | ||
chatScript.src = | ||
"https://d345f39z3arwqc.cloudfront.net/entelligence-chat.js"; | ||
|
||
// Create initialization script | ||
const initScript = document.createElement("script"); | ||
initScript.type = "module"; | ||
initScript.textContent = ` | ||
window.EntelligenceChat.init({ | ||
analyticsData: { | ||
repoName: "agentops", | ||
organization: "AgentOps-AI", | ||
apiKey: "1234567890", | ||
theme: 'dark' | ||
} | ||
}); | ||
`; | ||
|
||
// Append initialization script after chat script loads | ||
chatScript.onload = () => { | ||
document.body.appendChild(initScript); | ||
}; | ||
|
||
// Append chat script to the body | ||
document.body.appendChild(chatScript); | ||
} | ||
} | ||
|
||
window.addEventListener("load", function () { | ||
initEntelligence(); | ||
}); |
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 = "setuptools.build_meta" | |
|
||
[project] | ||
name = "agentops" | ||
version = "0.3.14" | ||
version = "0.3.15rc1" | ||
authors = [ | ||
{ name="Alex Reibman", email="[email protected]" }, | ||
{ name="Shawn Qiu", email="[email protected]" }, | ||
|
@@ -45,3 +45,7 @@ max_line_length = 120 | |
|
||
[project.scripts] | ||
agentops = "agentops.cli:main" | ||
|
||
[tool.pytest.ini_options] | ||
asyncio_mode = "strict" | ||
asyncio_default_fixture_loop_scope = "function" |
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
Oops, something went wrong.