mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
Change test_langchain.py
This commit is contained in:
parent
80b535f41a
commit
3ec66e6aec
1 changed files with 3 additions and 2 deletions
|
|
@ -80,10 +80,11 @@ async def test():
|
|||
print('Error details:', e.__dict__ if hasattr(e, '__dict__') else 'No additional details')
|
||||
|
||||
if __name__ == '__main__':
|
||||
# Print environment variables (without showing the actual key)
|
||||
print('Environment variables:')
|
||||
print('OPENAI_API_KEY:', 'Set' if os.getenv('OPENAI_API_KEY') else 'Not set')
|
||||
print('OPENAI_API_TYPE:', os.getenv('OPENAI_API_TYPE', 'Not set'))
|
||||
print('OPENAI_API_BASE:', os.getenv('OPENAI_API_BASE', 'Not set'))
|
||||
|
||||
asyncio.run(test())
|
||||
asyncio.run(test())
|
||||
|
||||
|
||||
Loading…
Reference in a new issue