haesleinhuepf / bia-bob

BIA Bob is a Jupyter+LLM-based assistant for interacting with image data and for working on Bio-image Analysis tasks.
BSD 3-Clause "New" or "Revised" License
90 stars 6 forks source link

Error accessing blablador #125

Closed haesleinhuepf closed 5 months ago

haesleinhuepf commented 5 months ago

A collaborator reported this error when attempting to access blablador:

import bia_bob
from bia_bob import bob

bob.initialize(
    endpoint='https://helmholtz-blablador.fz-juelich.de:8000/v1', 
    api_key='...',
    model='Starcoder2-15B')
%bob load logo.png at the current directory and show it

error:

OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
haesleinhuepf commented 5 months ago

I cannot reproduce this issue, neither with dependency openai==1.5.0 nor with openai==1.30.1...