Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Missing Editor-Version header causing 400 Bad Request when querying for packages in output snippets #335

Closed
@jhrozek

Description

@jhrozek
2024-12-13T17:20:10.3dZ [info     ] HTTP Request: POST https://api.enterprise.githubcopilot.com/chat/completions "HTTP/1.1 400 Bad Request" module=_client pathname=/Users/jakub/devel/codegate/venv/lib/python3.12/site-packages/httpx/_client.py

Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new
LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.

2024-12-13T17:20:10.3dZ [error    ] LiteLLM completion failed openai/gpt-4o (pip install requests
): litellm.BadRequestError: OpenAIException - bad request: missing Editor-Version header for IDE auth module=llmclient pathname=/Users/jakub/devel/codegate/src/codegate/llm_utils/llmclient.py

I thought we fixed this @ptelang ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions