samuelint / langchain-openai-api-bridge

A bridge to use Langchain output as an OpenAI-compatible API
MIT License
7 stars 3 forks source link

test:add langgraph multi agent tests #39

Closed Valdanitooooo closed 1 week ago

Valdanitooooo commented 3 weeks ago

Refer to the official example of Langgraph https://github.com/langchain-ai/langgraph/blob/main/examples/multi_agent/agent_supervisor.ipynb

This is related to https://github.com/samuelint/langchain-openai-api-bridge/issues/38#issuecomment-2300317528

samuelint commented 1 week ago

Hi @Valdanitooooo. Thanks for you contribution! Sorry for the delay, I just came back from vacation :).

I've run the pipeline on your PR and there's some stuff not working with it. Linter and tests are not passing. Can you please ensure both of them are correctly passing?

To run tests, there's a make command make test, and ensure .env file is correctly filled locally so it can make requests to OpenAI. .env.example contains an example of what needs to be in the .env

Valdanitooooo commented 1 week ago

Can you please ensure both of them are correctly passing?

Sure, I'll take a look at them and fix things up.