{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":768290826,"defaultBranch":"main","name":"spice","ownerLogin":"AbanteAI","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-03-06T20:18:36.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/146133487?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1721945042.0","currentOid":""},"activityList":{"items":[{"before":"18ef2a5f363568d6be9515861517bddcc0965a62","after":"0f35da91dbab12de5f62c28e6f430cc2a371cc4d","ref":"refs/heads/main","pushedAt":"2024-07-25T22:04:32.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"PCSwingle","name":null,"path":"/PCSwingle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18667262?s=80&v=4"},"commit":{"message":"Merge pull request #96 from AbanteAI/v-319\n\nnew version","shortMessageHtmlLink":"Merge pull request #96 from AbanteAI/v-319"}},{"before":null,"after":"5a4f3afcb6a4fe7d6c5f1ef6131e0484b52df3c2","ref":"refs/heads/v-319","pushedAt":"2024-07-25T22:04:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"PCSwingle","name":null,"path":"/PCSwingle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18667262?s=80&v=4"},"commit":{"message":"new version","shortMessageHtmlLink":"new version"}},{"before":"19a0df70085174fb92070d8d4a461070df367650","after":"18ef2a5f363568d6be9515861517bddcc0965a62","ref":"refs/heads/main","pushedAt":"2024-07-25T22:03:04.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"PCSwingle","name":null,"path":"/PCSwingle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18667262?s=80&v=4"},"commit":{"message":"Merge pull request #95 from AbanteAI/anthropic-empty-messages\n\nget rid of empty messages","shortMessageHtmlLink":"Merge pull request #95 from AbanteAI/anthropic-empty-messages"}},{"before":"bf3b05a0acf6f32800ae09743ac3c868e136b22d","after":"d7563635a074e0978c2282b8a948b83383f79a23","ref":"refs/heads/anthropic-empty-messages","pushedAt":"2024-07-25T22:02:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"PCSwingle","name":null,"path":"/PCSwingle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18667262?s=80&v=4"},"commit":{"message":"fix pyright","shortMessageHtmlLink":"fix pyright"}},{"before":null,"after":"bf3b05a0acf6f32800ae09743ac3c868e136b22d","ref":"refs/heads/anthropic-empty-messages","pushedAt":"2024-07-25T21:55:29.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"PCSwingle","name":null,"path":"/PCSwingle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18667262?s=80&v=4"},"commit":{"message":"get rid of empty messages","shortMessageHtmlLink":"get rid of empty messages"}},{"before":"e625c454b2de6403a1491ca2595a9ec8872f78a5","after":"19a0df70085174fb92070d8d4a461070df367650","ref":"refs/heads/main","pushedAt":"2024-07-18T20:40:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"biobootloader","name":null,"path":"/biobootloader","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/128252497?s=80&v=4"},"commit":{"message":"add 4o-mini and timing script (#94)\n\n* add 4o-mini and timing script\r\n\r\n* new version","shortMessageHtmlLink":"add 4o-mini and timing script (#94)"}},{"before":"2d75cd5814f97d6cdeebb745c6bfb1bbdd87f58c","after":"3306997d2d76849be08ef86b0bd6cdaefb5212f8","ref":"refs/heads/4o-mini-and-timing","pushedAt":"2024-07-18T20:39:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"biobootloader","name":null,"path":"/biobootloader","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/128252497?s=80&v=4"},"commit":{"message":"new version","shortMessageHtmlLink":"new version"}},{"before":null,"after":"2d75cd5814f97d6cdeebb745c6bfb1bbdd87f58c","ref":"refs/heads/4o-mini-and-timing","pushedAt":"2024-07-18T20:38:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"biobootloader","name":null,"path":"/biobootloader","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/128252497?s=80&v=4"},"commit":{"message":"add 4o-mini and timing script","shortMessageHtmlLink":"add 4o-mini and timing script"}},{"before":"fa520335dc91d3da6af6f36c928d0c4465ac67e0","after":"e625c454b2de6403a1491ca2595a9ec8872f78a5","ref":"refs/heads/main","pushedAt":"2024-07-16T04:33:26.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"granawkins","name":"Grant","path":"/granawkins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/50287275?s=80&v=4"},"commit":{"message":"add one missing assignment, bump version (#93)","shortMessageHtmlLink":"add one missing assignment, bump version (#93)"}},{"before":null,"after":"f02535038ff8412dd1333e1075055ddb5731c357","ref":"refs/heads/fix-retry-strategy-type-hint","pushedAt":"2024-07-16T04:25:27.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"granawkins","name":"Grant","path":"/granawkins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/50287275?s=80&v=4"},"commit":{"message":"add one missing assignment, bump version","shortMessageHtmlLink":"add one missing assignment, bump version"}},{"before":"6cbef5dee3a6e8fc73721d7ba53383586d5035dd","after":"fa520335dc91d3da6af6f36c928d0c4465ac67e0","ref":"refs/heads/main","pushedAt":"2024-07-16T02:59:34.000Z","pushType":"pr_merge","commitsCount":11,"pusher":{"login":"granawkins","name":"Grant","path":"/granawkins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/50287275?s=80&v=4"},"commit":{"message":"Merge pull request #91 from AbanteAI/mentat-branch-for-87-1\n\nMake Retry Strategy Abstraction","shortMessageHtmlLink":"Merge pull request #91 from AbanteAI/mentat-branch-for-87-1"}},{"before":"42735edad445342594c36f45501d63b10f647078","after":"d2321393a51e5e373290c69f7533e74a86284960","ref":"refs/heads/mentat-branch-for-87-1","pushedAt":"2024-07-16T02:55:01.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"granawkins","name":"Grant","path":"/granawkins","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/50287275?s=80&v=4"},"commit":{"message":"patch version bump","shortMessageHtmlLink":"patch version bump"}},{"before":null,"after":"f2b55817e49cbfc69d14e5a80f54c1a8d38fecd4","ref":"refs/heads/backoff","pushedAt":"2024-07-15T22:18:35.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"jakethekoenig","name":"Jake Koenig","path":"/jakethekoenig","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/385534?s=80&v=4"},"commit":{"message":"Add exponential backoff to get_response","shortMessageHtmlLink":"Add exponential backoff to get_response"}},{"before":"d9f0632ffdca46757a7920c485a19b583c86964e","after":"42735edad445342594c36f45501d63b10f647078","ref":"refs/heads/mentat-branch-for-87-1","pushedAt":"2024-07-15T17:58:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jakethekoenig","name":"Jake Koenig","path":"/jakethekoenig","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/385534?s=80&v=4"},"commit":{"message":"Mentat feedback","shortMessageHtmlLink":"Mentat feedback"}},{"before":"3ca2d67f75aa34d8e4333d818eab5192131c84ab","after":"d9f0632ffdca46757a7920c485a19b583c86964e","ref":"refs/heads/mentat-branch-for-87-1","pushedAt":"2024-07-15T17:44:15.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jakethekoenig","name":"Jake Koenig","path":"/jakethekoenig","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/385534?s=80&v=4"},"commit":{"message":"Make Retry and Converter strategies\n\nClean up get_response. Light touch ups.","shortMessageHtmlLink":"Make Retry and Converter strategies"}},{"before":"8680b692d4b6ee57714784d50908fac13cab2e44","after":"20c68f687b0e04ad31f73568ced823b3c6424fd7","ref":"refs/heads/mentat-branch-for-89-1","pushedAt":"2024-07-14T20:05:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mentatai[bot]","name":null,"path":"/apps/mentatai","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/850097?s=80&v=4"},"commit":{"message":"Refactor retry logic into call_llm method\n\nIncorporated feedback to refactor the retry logic from the `catch_and_convert_errors` context manager into a new `call_llm` method within the `Spice` class. This method handles the retry logic and is now used in place of the context manager in relevant parts of the code. This approach provides a cleaner and more appropriate solution for implementing retries.\n\nUpdated the `WrappedOpenAIClient` and `WrappedAnthropicClient` classes to remove retry logic from the `catch_and_convert_errors` method.","shortMessageHtmlLink":"Refactor retry logic into call_llm method"}},{"before":"2747c5e42767c0b708375ed0c98323a0dd18e33a","after":"3ca2d67f75aa34d8e4333d818eab5192131c84ab","ref":"refs/heads/mentat-branch-for-87-1","pushedAt":"2024-07-14T19:36:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mentatai[bot]","name":null,"path":"/apps/mentatai","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/850097?s=80&v=4"},"commit":{"message":"CI fix: Fix CI failure due to syntax errors and unsorted imports\n\nResolved syntax errors in `custom_retry_strategy.py` by correcting parameter order and fixing typos. Also, sorted imports in `spice.py` to comply with linting rules. This should fix the CI failure encountered in the previous pull request.","shortMessageHtmlLink":"CI fix: Fix CI failure due to syntax errors and unsorted imports"}},{"before":"546f027d478a34a5113a508f5cb8348381a873e3","after":"2747c5e42767c0b708375ed0c98323a0dd18e33a","ref":"refs/heads/mentat-branch-for-87-1","pushedAt":"2024-07-14T19:27:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mentatai[bot]","name":null,"path":"/apps/mentatai","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/850097?s=80&v=4"},"commit":{"message":"CI fix: CI fix: Fix CI failure due to unsorted imports\n\nThis commit addresses the CI failure caused by unsorted imports in the following files:\n- spice/custom_retry_strategy.py\n- spice/spice.py\n- tests/test_spice.py\n\nThe imports have been organized to comply with the project's coding standards, ensuring that the CI pipeline passes successfully.","shortMessageHtmlLink":"CI fix: CI fix: Fix CI failure due to unsorted imports"}},{"before":"32221bd357cc4630b156e020e7e251e9348445c6","after":"8680b692d4b6ee57714784d50908fac13cab2e44","ref":"refs/heads/mentat-branch-for-89-1","pushedAt":"2024-07-14T19:26:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mentatai[bot]","name":null,"path":"/apps/mentatai","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/850097?s=80&v=4"},"commit":{"message":"Add retry logic to catch_and_convert_errors method\n\nImplemented the retry logic in the `catch_and_convert_errors` method for both `WrappedOpenAIClient` and `WrappedAnthropicClient` classes. The method now supports retrying on `APIConnectionError` and `APIStatusError` with exponential backoff, configurable via `max_retries`, `base_delay`, and `max_delay` parameters. This completes the retry functionality as intended in the pull request.","shortMessageHtmlLink":"Add retry logic to catch_and_convert_errors method"}},{"before":"dddd02ed386360ea98425c391811ccea1cdfed60","after":"546f027d478a34a5113a508f5cb8348381a873e3","ref":"refs/heads/mentat-branch-for-87-1","pushedAt":"2024-07-14T19:25:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mentatai[bot]","name":null,"path":"/apps/mentatai","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/850097?s=80&v=4"},"commit":{"message":"Refactor get_response to use RetryStrategy\n\nIncorporated feedback from the previous review:\n1. Moved documentation and default validator to separate files.\n2. Implemented a new RetryStrategy that adds model responses to messages for better error handling.\n3. Added deprecation notices for converter/validator/retries.\n4. Moved temperature logic into DefaultRetryStrategy.\n5. Updated RetryStrategy to include a method for determining call names.\n6. Added tests for new RetryStrategy implementations.\n\nThese changes improve code organization, error handling, and maintainability while providing more flexibility for retry strategies.","shortMessageHtmlLink":"Refactor get_response to use RetryStrategy"}},{"before":null,"after":"32221bd357cc4630b156e020e7e251e9348445c6","ref":"refs/heads/mentat-branch-for-89-1","pushedAt":"2024-07-14T19:14:35.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mentatai[bot]","name":null,"path":"/apps/mentatai","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/850097?s=80&v=4"},"commit":{"message":"Add retry support to catch_and_convert_errors\n\nThis update introduces retry functionality to the `catch_and_convert_errors` context manager. The new parameters `max_retries`, `base_delay`, and `max_delay` have been added to the `Spice` client to configure the retry strategy. On encountering `APIError` or `APIConnectionError`, the client will now retry the operation with exponential backoff, starting from `base_delay` and capping at `max_delay`. The operation will be retried up to `max_retries` times before raising the exception.","shortMessageHtmlLink":"Add retry support to catch_and_convert_errors"}},{"before":"e39c15ea07aae973e4f181ce521a8673737fe757","after":"dddd02ed386360ea98425c391811ccea1cdfed60","ref":"refs/heads/mentat-branch-for-87-1","pushedAt":"2024-07-14T18:59:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mentatai[bot]","name":null,"path":"/apps/mentatai","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/850097?s=80&v=4"},"commit":{"message":"CI fix: Fix CI failure due to unsorted imports\n\nThis commit addresses the CI failure caused by unsorted imports in the `spice.py` file. The imports have been organized to comply with the project's coding standards, ensuring that the CI pipeline passes successfully.","shortMessageHtmlLink":"CI fix: Fix CI failure due to unsorted imports"}},{"before":"d681450974a78a526054c5b9d0a9ac970bc99a2d","after":"e39c15ea07aae973e4f181ce521a8673737fe757","ref":"refs/heads/mentat-branch-for-87-1","pushedAt":"2024-07-14T18:59:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mentatai[bot]","name":null,"path":"/apps/mentatai","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/850097?s=80&v=4"},"commit":{"message":"CI fix: Fix CI failure due to unsorted imports\n\nCorrected the import order in `spice.py` to resolve the CI failure caused by unsorted imports. This should fix the issue and allow the CI pipeline to pass successfully.","shortMessageHtmlLink":"CI fix: Fix CI failure due to unsorted imports"}},{"before":null,"after":"d681450974a78a526054c5b9d0a9ac970bc99a2d","ref":"refs/heads/mentat-branch-for-87-1","pushedAt":"2024-07-14T18:58:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mentatai[bot]","name":null,"path":"/apps/mentatai","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/850097?s=80&v=4"},"commit":{"message":"Refactor get_response to use RetryStrategy\n\nReplaced the existing validators and converters with a new retry_strategy argument in the get_response method. Introduced an abstract class RetryStrategy with a decide method to handle retry logic. Added a DefaultRetryStrategy to maintain backward compatibility with the current behavior. Updated tests to use the new retry_strategy argument. This change allows for more complex retry behaviors such as increasing temperature on failure, switching models, and self-correction.","shortMessageHtmlLink":"Refactor get_response to use RetryStrategy"}},{"before":"3c92b2f6738faea96c1f27a6a568f5555808e42c","after":"6cbef5dee3a6e8fc73721d7ba53383586d5035dd","ref":"refs/heads/main","pushedAt":"2024-06-21T21:11:37.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"PCSwingle","name":null,"path":"/PCSwingle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18667262?s=80&v=4"},"commit":{"message":"Merge pull request #86 from AbanteAI/empty-chunk-bug\n\nEmpty chunk bug","shortMessageHtmlLink":"Merge pull request #86 from AbanteAI/empty-chunk-bug"}},{"before":"fddb57333b944e3e538781a89d5bc56583a633c1","after":"7e8f1c37a8745f685652b6bb515b9ba9bf44a4b7","ref":"refs/heads/empty-chunk-bug","pushedAt":"2024-06-21T21:10:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"PCSwingle","name":null,"path":"/PCSwingle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18667262?s=80&v=4"},"commit":{"message":"version","shortMessageHtmlLink":"version"}},{"before":null,"after":"fddb57333b944e3e538781a89d5bc56583a633c1","ref":"refs/heads/empty-chunk-bug","pushedAt":"2024-06-21T21:10:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"PCSwingle","name":null,"path":"/PCSwingle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18667262?s=80&v=4"},"commit":{"message":"fix empty chunk bug","shortMessageHtmlLink":"fix empty chunk bug"}},{"before":"74fe6bb936f452a84428de02b0b8eca20f0d71ca","after":"3c92b2f6738faea96c1f27a6a568f5555808e42c","ref":"refs/heads/main","pushedAt":"2024-06-20T22:34:25.000Z","pushType":"pr_merge","commitsCount":6,"pusher":{"login":"PCSwingle","name":null,"path":"/PCSwingle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18667262?s=80&v=4"},"commit":{"message":"Merge pull request #85 from AbanteAI/global-temperature\n\nGlobal temperature","shortMessageHtmlLink":"Merge pull request #85 from AbanteAI/global-temperature"}},{"before":"3e5c2fa4c007cd7c0190c36a5794c3a7210682b9","after":"e341dd4c8b71154438d305faa070c83f660764a3","ref":"refs/heads/global-temperature","pushedAt":"2024-06-20T22:33:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"PCSwingle","name":null,"path":"/PCSwingle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18667262?s=80&v=4"},"commit":{"message":"new version","shortMessageHtmlLink":"new version"}},{"before":"55211da6db5acd3d36337acc6797fa162fe91a24","after":"3e5c2fa4c007cd7c0190c36a5794c3a7210682b9","ref":"refs/heads/global-temperature","pushedAt":"2024-06-20T22:33:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"PCSwingle","name":null,"path":"/PCSwingle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18667262?s=80&v=4"},"commit":{"message":"fix bug","shortMessageHtmlLink":"fix bug"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEiXltywA","startCursor":null,"endCursor":null}},"title":"Activity ยท AbanteAI/spice"}