mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 01:55:22 -04:00
OpenAI and Anthropic Pipeline Not working #29
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MarlNox on GitHub (Jun 2, 2024).
Both pipelines, in the latest iteration fail to work properly.
The issues in the OpenAI one, is that setting the key doesn't work using the current structure.
Trying to interact with the OpenAI pipeline gives a 400 error, related to the api key.
The OpenAI webui connection works just fine.
@MarlNox commented on GitHub (Jun 2, 2024):
Proposed fix:
@tjbck commented on GitHub (Jun 2, 2024):
Taking a look!
@tjbck commented on GitHub (Jun 2, 2024):
Both should be fixed! Let me know if the issue persists!
@Lhemamou commented on GitHub (Jun 21, 2024):
The issue is persisting for OpenAI (I have only tested this one). I make a PR to fix it #107
@healdgar commented on GitHub (Jan 31, 2025):
Same issue. It's a 400 error, so it seems like a malformed request? Maybe the message body isn't parsing correctly?
console shows:
"### Context:
<chat_history>
USER: test
ASSISTANT: Error: 400 Client Error: Bad Request for url: https://api.openai.com/v1/chat/completions
</chat_history>
search query
test
Output:
INFO: 127.0.0.1:53222 - "POST /chat/completions HTTP/1.1" 200 OK
openai_pipeline
openai_pipeline
INFO: 127.0.0.1:53226 - "POST /chat/completions HTTP/1.1" 200 OK
pipe:openai_pipeline
[{'role': 'user', 'content': 'test'}, {'role': 'assistant', 'content': 'Error: 400 Client Error: Bad Request for url: https://api.openai.com/v1/chat/completions'}, {'role': 'user', 'content': 'test'}]
test
INFO: 127.0.0.1:53230 - "POST /openai_pipeline/filter/outlet HTTP/1.1" 200 OK"