Commit Graph

3164 Commits

Author SHA1 Message Date
Krrish Dholakia f20820fd00 fix(main.py): fix linting errors 2023-11-13 14:52:37 -08:00
Ishaan Jaff 496dd9297e Update readme.md' 2023-11-13 14:52:18 -08:00
Ishaan Jaff 783864cae9 Update readme.md 2023-11-13 14:40:00 -08:00
Krrish Dholakia 8a3b771e50 fix(tests): fixing response objects for testing 2023-11-13 14:39:30 -08:00
Ishaan Jaff 9776126c8d Update readme.md 2023-11-13 14:32:15 -08:00
Ishaan Jaff a6e7485fe1 Update readme.md 2023-11-13 14:29:35 -08:00
Ishaan Jaff 336442912c Update readme.md 2023-11-13 14:11:36 -08:00
ishaan-jaff 3c1b1a0366 (fix) replicate stub input/output cost per token 2023-11-13 13:59:52 -08:00
Krrish Dholakia d4de55b053 fix(together_ai.py): exception mapping for tgai 2023-11-13 13:17:15 -08:00
Krrish Dholakia aa8ca781ba test(test_completion.py): cleanup tests 2023-11-13 11:23:38 -08:00
Krrish Dholakia 4340749ea3 fix(timeout.py): fix timeout issue 2023-11-13 11:07:17 -08:00
ishaan-jaff 1207910522 (fix) proxy cli maintain back comp with openai < 1.00 2023-11-13 11:06:59 -08:00
Ishaan Jaff a1634f42f5 Update README.md 2023-11-13 11:04:20 -08:00
ishaan-jaff e125414611 (fix) proxy cli compatible with openai v1.0.0 2023-11-13 10:58:20 -08:00
ishaan-jaff 16abdf44c9 (fix) proxy_server convert chunk to dict() 2023-11-13 10:58:20 -08:00
Krrish Dholakia 1665b872c3 fix(caching.py): dump model response object as json 2023-11-13 10:41:04 -08:00
Krrish Dholakia b8c3896323 bump: version 0.14.1 → 1.0.0.dev1 2023-11-13 10:41:04 -08:00
ishaan-jaff 4439109658 (fix) text completion response 2023-11-13 10:29:23 -08:00
ishaan-jaff 18b694f01a (fix) proxy cli use openai v1.0.0 2023-11-13 10:08:48 -08:00
ishaan-jaff a21ff38694 (test) deepinfra with openai v1.0.0 2023-11-13 09:51:45 -08:00
ishaan-jaff 27cbd7d895 (fix) deepinfra with openai v1.0.0 2023-11-13 09:51:22 -08:00
ishaan-jaff cf0ab7155e (fix) proxy + docs: use openai.chat.completions.create instead of openai.ChatCompletions 2023-11-13 08:24:26 -08:00
Ishaan Jaff 60770e1eec Merge pull request #806 from BerriAI/dependabot/npm_and_yarn/docs/my-website/babel/traverse-7.23.3
build(deps): bump @babel/traverse from 7.22.10 to 7.23.3 in /docs/my-website
2023-11-13 08:15:20 -08:00
Ishaan Jaff 00e54b2387 Merge pull request #805 from BerriAI/dependabot/pip/urllib3-2.0.7
build(deps): bump urllib3 from 2.0.5 to 2.0.7
2023-11-13 08:13:34 -08:00
Ishaan Jaff 193760d704 Merge pull request #804 from BerriAI/dependabot/npm_and_yarn/docs/my-website/postcss-8.4.31
build(deps): bump postcss from 8.4.27 to 8.4.31 in /docs/my-website
2023-11-13 08:12:45 -08:00
dependabot[bot] 6c9b3e2e71 build(deps): bump @babel/traverse in /docs/my-website
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.10 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 16:11:42 +00:00
dependabot[bot] a0a29b766b build(deps): bump urllib3 from 2.0.5 to 2.0.7
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.5 to 2.0.7.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/v2.0.5...2.0.7)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 16:11:41 +00:00
dependabot[bot] 4e30b81eaf build(deps): bump postcss from 8.4.27 to 8.4.31 in /docs/my-website
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-13 16:11:38 +00:00
ishaan-jaff 7a3607e00c (test) token_counter 2023-11-13 08:02:46 -08:00
ishaan-jaff c91abc8ad1 (fix) token_counter - use openai token counter only for chat completion 2023-11-13 08:00:27 -08:00
ishaan-jaff e5ec4a92fe (test) add test token counter 2023-11-13 07:42:08 -08:00
Krrish Dholakia 62013520aa fix(utils.py): replacing openai.error import statements 2023-11-11 19:25:21 -08:00
Krrish Dholakia c5c3096a47 build(main.py): trigger testing 2023-11-11 19:20:48 -08:00
Krrish Dholakia f2c8d12eed ci(requirements.txt): enable openai 2023-11-11 19:14:22 -08:00
Krish Dholakia 863d6d9f0c Updated config.yml 2023-11-11 19:05:21 -08:00
Krrish Dholakia 45b6f8b853 refactor: fixing linting issues 2023-11-11 18:52:28 -08:00
Krrish Dholakia ae35c13015 refactor(ai21,-aleph-alpha,-ollama): making ai21, aleph-alpha, ollama compatible with openai v1 sdk 2023-11-11 17:49:13 -08:00
Krrish Dholakia c6ce3fedcd fix(main.py): fix caching for router 2023-11-11 17:45:23 -08:00
Krrish Dholakia 4f42beb9d9 refactor(huggingface,-anthropic,-replicate,-sagemaker): making huggingface, anthropic, replicate, sagemaker compatible openai v1 sdk 2023-11-11 17:38:15 -08:00
Krrish Dholakia 547598a134 refactor(bedrock.py-+-cohere.py): making bedrock and cohere compatible with openai v1 sdk 2023-11-11 17:33:19 -08:00
Krrish Dholakia 39c2597c33 refactor(azure.py): working azure completion calls with openai v1 sdk 2023-11-11 16:44:39 -08:00
Krrish Dholakia d0bd932b3c refactor(openai.py): working openai chat + text completion for openai v1 sdk 2023-11-11 16:25:10 -08:00
Ishaan Jaff 6d815d98fe Update README.md 2023-11-11 15:41:20 -08:00
Krrish Dholakia d3323ba637 refactor(openai.py): making it compatible for openai v1
BREAKING CHANGE:
2023-11-11 15:33:02 -08:00
ishaan-jaff 833c38edeb (fix) proxy raise exception when config path does not exist 2023-11-11 12:36:22 -08:00
ishaan-jaff b74b051385 (test) tokenizer worked test 2023-11-11 12:13:57 -08:00
ishaan-jaff ecc6790a23 (docs) fast eval with proxy 2023-11-11 12:08:10 -08:00
ishaan-jaff b6e6c7bb86 (docs) use fast eval 2023-11-11 12:06:17 -08:00
ishaan-jaff 96bca9a836 (test) try/pass APIError for TG AI 2023-11-11 11:34:15 -08:00
ishaan-jaff 59c76db34e (fix) add APIError to litellm module 2023-11-11 11:33:02 -08:00