config.go 632 B

1234567891011121314151617181920212223
  1. package compapi
  2. import (
  3. "github.com/openai/openai-go"
  4. )
  5. const (
  6. ChatModelDeepSeekV3 openai.ChatModel = "deepseek-chat"
  7. ChatModelDeepSeekR1 openai.ChatModel = "deepseek-reasoner"
  8. APIAuthInfoKey string = "COMPAPI_AUTHINFO"
  9. )
  10. type workIdInfo struct {
  11. Id string
  12. Idx int
  13. }
  14. var fastgptWorkIdMap = map[string]workIdInfo{
  15. "default": {"fastgpt-jcDATa9aH4vtUsjDpCU773BxmLU50IxKUX9nUT0mCTLQkEoo1hPxPEdNQeOEWGTn", 0},
  16. "OPTIMIZE_CALL_SCRIPT": {"fastgpt-bcQ9cWKd6y9a2LfizweeWEnukkQi1Oq46yoiRg9yDNLm8NPTWXsyFwcB", 1},
  17. "TEST_DOUYIN": {"fastgpt-bwt6oSGcjwJ1qBgT276oeFD34IAhfjEQBCZWJfJR1oj3WqJl7751ljSrc", 2},
  18. }