{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":674118893,"defaultBranch":"master","name":"DevOpsGPT","ownerLogin":"bdoycn","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-08-03T07:23:55.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/31044988?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1691047443.331406","currentOid":""},"activityList":{"items":[{"before":"95a91ae31335c488f2c479cdf930b44b61cb980e","after":"74a22466f56862e29fc1d5a25154ba63d1d23a63","ref":"refs/heads/master","pushedAt":"2023-08-04T07:57:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bdoycn","name":null,"path":"/bdoycn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/31044988?s=80&v=4"},"commit":{"message":"refactor(*): update service provider configuration and add comments\n\nThis commit does the following:\n\n1. Adds comments to GPT_KEYS in the configuration file. The comments indicate that if a certain type of interface is not needed, the corresponding element should be completely deleted. Comments are provided in both English and Chinese for clarity.\n\n2. Updates the configuration information for the 'openai' element in GPT_KEYS. The updated information includes the API keys and the necessary configuration elements such as api_type, api_base, and api_version.","shortMessageHtmlLink":"refactor(*): update service provider configuration and add comments"}},{"before":"748662121c48dde7489f2801e1959f9c92ac2c19","after":"95a91ae31335c488f2c479cdf930b44b61cb980e","ref":"refs/heads/master","pushedAt":"2023-08-03T09:03:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bdoycn","name":null,"path":"/bdoycn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/31044988?s=80&v=4"},"commit":{"message":"refactor(*): introduce service provider switching functionality\nThis PR introduces the functionality to switch between different service providers dynamically based on a configuration file.\n\nChanges include:\n1. Refactor of the `get_next_api_key` function to return a dictionary containing all configuration information for the next service provider, not just the API key.\n2. Update the `LLMBase` class's `chatCompletion` method to use the new configuration dictionary returned by `get_next_api_key`.\n3. Update the configuration file structure to include all necessary data for each service provider.\n\nThis change allows the code to use different service providers and API keys dynamically, improving flexibility and configurability.","shortMessageHtmlLink":"refactor(*): introduce service provider switching functionality"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOC0wNFQwNzo1Nzo1OS4wMDAwMDBazwAAAANj0Dls","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wOC0wM1QwOTowMzoyOC4wMDAwMDBazwAAAANjB1dY"}},"title":"Activity ยท bdoycn/DevOpsGPT"}