26 Commits

Author SHA1 Message Date
openhands
0abb850405 Add client API key validation 2025-07-14 00:35:01 +08:00
杨涛
5027acb606 fix: add support for additional model prefixes in mapping 2025-07-14 00:31:42 +08:00
Stathi Fotiadis
97fbf4d2f8 Update README.md 2025-07-14 00:30:06 +08:00
Stathi Fotiadis
55d4bd1e73 fix[config]: update middle model to default to big model value
Change MIDDLE_MODEL environment variable to default to the value of BIG_MODEL instead of hardcoded "gpt-4o"
2025-07-14 00:30:06 +08:00
Stathi Fotiadis
b2d11ac638 feat: enhance model configuration by adding MIDDLE_MODEL for Claude requests 2025-07-14 00:30:06 +08:00
liusiyao.sine
48f456775f fix: None prompt_tokens_details 2025-07-04 22:09:30 +08:00
Noah Gao
ea65fb80c0 feat: support forward token usage data 2025-07-04 15:20:45 +08:00
Noah Gao
ab06e9bf90 feat: support running in docker 2025-07-04 15:18:14 +08:00
Holegots
0565ac493d Update launch.json port and README command 2025-07-02 18:36:18 +08:00
Holegots
0bf1ff5ca6 Update .env.example with clearer comments for configuration options 2025-07-02 18:36:18 +08:00
liusiyao.sine
dc87d11354 fix: occasional "reading null content" error 2025-07-02 18:36:18 +08:00
Holegots
86ca7da3fa Fix uvicorn log level parsing to handle comments
- Parse log level in main.py to extract only the first word
- Add validation with fallback to 'info' for invalid log levels
- Prevents KeyError when LOG_LEVEL contains comment text in uvicorn
2025-07-02 18:36:18 +08:00
Holegots
2bf2228d8c Fix logging configuration to handle comments in LOG_LEVEL
- Parse log level to extract only the first word, ignoring comments
- Add validation with fallback to INFO for invalid log levels
- Prevents AttributeError when LOG_LEVEL contains comment text
2025-07-02 18:36:18 +08:00
Holegots
92eb9cd363 Fix configuration and remove minimum token validation
- Remove minimum token limit check that was causing API failures
- Change LOG_LEVEL from WARNING to INFO in example config
- Disable auto-reload in production for better stability
- Add debug logging for token usage tracking
2025-07-02 18:36:18 +08:00
Znmangosteen
c7eb940a6b Update AZURE_API_VERSION param in .env.example 2025-07-02 17:59:06 +08:00
liusiyao.sine
f84f21bc9d fix: occasional "reading null content" error 2025-06-30 00:22:15 +08:00
zh.wang
0be4f9c887 support_claude 2025-06-25 21:00:51 +08:00
Stuart
8cf82dd837 feat: use configurable small model for connection test 2025-06-25 21:00:38 +08:00
Holegots
375972eea5 Merge pull request #3 from stathius/main
feat: add Azure support to OpenAIClient and update configuration
2025-06-25 21:00:09 +08:00
stathi.fotiadis
9086d03b9b feat: add Azure support to OpenAIClient and update configuration 2025-06-25 08:01:00 +00:00
Holegots
11863dcb1e Merge pull request #1 from galaxyxxxxx/fix/x
fix: mismatch main file name and missing requirements
2025-06-24 14:51:57 +08:00
galaxyxxxxx
aee420fc1c fix: add missing requirements.txt
Change-Id: I96cd30bf2a543ee5314ec9007d44815454e0453a
2025-06-23 22:27:57 +08:00
galaxyxxxxx
cc62a4b5eb fix: mismatch main file name
Change-Id: I198dfc7e5b180a9533b8f041f61e6a41722c0db3
2025-06-23 22:24:00 +08:00
Holegots
630e16b4cc Update README 2025-06-23 02:06:05 +08:00
Holegots
1831adffc2 Change logger level from info to debug 2025-06-23 01:54:04 +08:00
Holegots
6ce4226111 🎉 Init Project 2025-06-23 01:27:50 +08:00