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

Add OpenRouter support and improve logging in chat handler #601

Merged
merged 1 commit into from
Feb 9, 2025

Conversation

swuecho
Copy link
Owner

@swuecho swuecho commented Feb 9, 2025

  • Added OpenRouter API URL handling in llm_openai.go.
  • Enhanced logging in chat_main_handler.go for better debugging:
    • Added detailed config logging.
    • Added pre-request and stream error logging.

- Added OpenRouter API URL handling in `llm_openai.go`.
- Enhanced logging in `chat_main_handler.go` for better debugging:
  - Added detailed config logging.
  - Added pre-request and stream error logging.
@swuecho
Copy link
Owner Author

swuecho commented Feb 9, 2025

openai go client error message is bad

@swuecho swuecho merged commit 71c3556 into master Feb 9, 2025
2 checks passed
@ossy45
Copy link

ossy45 commented Feb 9, 2025

What happened to it dm

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

Successfully merging this pull request may close these issues.

2 participants