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

bug: missing support for fireworks models (langchain) #2089

Open
sooroushr opened this issue May 17, 2024 · 2 comments
Open

bug: missing support for fireworks models (langchain) #2089

sooroushr opened this issue May 17, 2024 · 2 comments
Assignees
Labels

Comments

@sooroushr
Copy link

Describe the bug

Trying to use Fire Function from fireworks ai

warnings.warn(
content='Yes, LLM is working.' response_metadata={'token_usage': {'prompt_tokens': 64, 'total_tokens': 73, 'completion_tokens': 9}, 'model_name': 'accounts/fireworks/models/firefunction-v1', 'system_fingerprint': '', 'finish_reason': 'stop', 'logprobs': None} id='run-2221d377-2876-4cab-89a6-e7a43ae12ad8-0'
Langfuse was not able to parse the LLM model. The LLM call will be recorded without model name. Please create an issue so we can fix your integration: https://github.com/langfuse/langfuse/issues/new/choose
Langfuse was not able to parse the LLM model. The LLM call will be recorded without model name. Please create an issue so we can fix your integration: https://github.com/langfuse/langfuse/issues/new/choose

To reproduce

    st_agent_executor = AgentExecutor(agent=st_agent.st_agent, tools=st_agent.st_tools, verbose=False)
    answer =  st_agent_executor.invoke({
        "input": plan,
        "chat_history": task_logs,},
        {"callbacks": [st_callback,langchain_callback_handler_task]})['output']
    langchain_callback_handler_task.flush()

SDK and container versions

No response

Additional information

No response

Are you interested to contribute a fix for this bug?

No

@marcklingen
Copy link
Member

thanks for reporting, do you use the ChatFireworks class?

@marcklingen marcklingen changed the title bug: bug: missing support for fireworks models (langchain) May 17, 2024
@sooroushr
Copy link
Author

thanks for reporting, do you use the ChatFireworks class?

llm = ChatFireworks(model="accounts/fireworks/models/firefunction-v1")

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

No branches or pull requests

3 participants