mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
test humanloop
This commit is contained in:
parent
64a305f9dd
commit
6964b5a67a
1 changed files with 0 additions and 14 deletions
|
|
@ -4321,20 +4321,6 @@ def test_langfuse_completion(monkeypatch):
|
|||
)
|
||||
|
||||
|
||||
def test_humanloop_completion(monkeypatch):
|
||||
monkeypatch.setenv(
|
||||
"HUMANLOOP_API_KEY", "hl_sk_59c1206e110c3f5b9985f0de4d23e7cbc79c4c4ae18c9f14"
|
||||
)
|
||||
litellm.set_verbose = True
|
||||
resp = litellm.completion(
|
||||
model="humanloop/gpt-3.5-turbo",
|
||||
humanloop_api_key=os.getenv("HUMANLOOP_API_KEY"),
|
||||
prompt_id="pr_nmSOVpEdyYPm2DrOwCoOm",
|
||||
prompt_variables={"person": "John"},
|
||||
messages=[{"role": "user", "content": "Tell me a joke."}],
|
||||
)
|
||||
|
||||
|
||||
def test_completion_novita_ai():
|
||||
litellm.set_verbose = True
|
||||
messages = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue