Skip to content

Commit

Permalink
Add debug print for integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkuzmik committed Nov 28, 2023
1 parent 4865fc8 commit 0818ea5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/lib_integration/openai/test_openai_autologger.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
import pytest

import comet_llm
import logging
import comet_llm.chains.state

from ... import testlib

LOGGER = logging.getLogger(__file__)

@pytest.fixture
def comet_setup():
Expand All @@ -18,7 +20,7 @@ def comet_setup():
def test_openai_autologger__chain_exists__openai_call_was_made__openai_call_added_to_chain_as_node(comet_setup):
import openai

print("!!!!!!!!!!!!!!!!!!!!!!!!!", os.environ["OPENAI_API_KEY"][:5], os.environ["OPENAI_ORG_ID"][:5])
LOGGER.error("ENV INFO:", os.environ["OPENAI_API_KEY"][:5] + " " + os.environ["OPENAI_ORG_ID"][:5])

comet_llm.start_chain(
inputs={"any-name": "any-input"},
Expand Down

0 comments on commit 0818ea5

Please sign in to comment.