Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run Podcastfy #173

Open
kuhnster01 opened this issue Nov 12, 2024 · 4 comments
Open

Unable to run Podcastfy #173

kuhnster01 opened this issue Nov 12, 2024 · 4 comments

Comments

@kuhnster01
Copy link

Hi there, I loaded latest update yesterday but was still unable to run Podcastfy. I then commented out the code like this due to the LangSmith error:

Raises:

LangSmithUserError
If the API key is not provided when using the hosted service.
"""

If the domain is langchain.com, raise error if no api_key

"""if not api_key:
if _is_langchain_hosted(api_url):
warnings.warn(
"API key must be provided when using hosted LangSmith API",
ls_utils.LangSmithMissingAPIKeyWarning,
)"""

But now, when running: python -m podcastfy.client --url https://www.mysite.com/

I get this error ...

Retrying langchain_google_genai.chat_models._chat_with_retry.._chat_with_retry in 2.0 seconds as it raised RetryError: Timeout of 600.0s exceeded, last exception: 503 Getting metadata from plugin failed with error: ('invalid_grant: Bad Request', {'error': 'invalid_grant', 'error_description': 'Bad Request'}).

@souzatharsis
Copy link
Owner

Hi Rod,

Is this still an issue?
The langsmith message is just a warning. You are not supposed to need an API KEY not comment out any code.

Please let me know if you need any further guidance.

@Silloty1
Copy link

Hello

Tried to run this today from the sample code with local LLM but the error pops out

@souzatharsis
Copy link
Owner

souzatharsis commented Nov 27, 2024 via email

@Davide-gtr
Copy link

Hello, I am facing the same issue.

If I don' tput any Langsmith api key, it just show me a warning, but the code still works.
However, if I run the code without being connected to Internet, I have the following error:

langsmith.utils.LangSmithConnectionError: Connection error caused failure to GET /commits/souzatharsis/podcastfy_multimodal_cleanmarkup/b2365f11 in LangSmith API. Please confirm your internet connection.

Is it mandatory to be connected ? Or is there a way to execute the code while being offline ?
And if it is mandatory to be connected, are we still sending data to the Langsmith API ?

Many thanks in advance for your answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants